[Project_owners] HTTP Auth from Javascript?

Wladimir Palant trev at gtchat.de
Fri Sep 23 16:19:54 EDT 2005

sjames at uni-osnabrueck.de wrote:
> My extension needs to get data from an web server API that uses HTTP
> Authentication.  The problem is that I don't want the extension to handle
> all the login bits without the user ever being bothered by the login popup
> window.
> I've been trying different variations on XMLHttpRequest, but everything
> results in the ugly login screen.

You can supply username and password as parameters to the open() method. 
And I think the login screen shouldn't appear on 401 then.


More information about the Project_owners mailing list