[Project_owners] HTTP Auth from Javascript?

David Murray lid2000 at tpg.com.au
Sun Sep 25 23:46:25 EDT 2005

If you can figure out how to get it to not pop up with the login dialog 
box if the username/password provided in the open() method is incorrect, 
please let me know how you did it.


Wladimir Palant wrote:
> 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.
> Wladimir
> _______________________________________________
> Project_owners mailing list
> Project_owners at mozdev.org
> http://mozdev.org/mailman/listinfo/project_owners

More information about the Project_owners mailing list