[Project_owners] HTTP Auth from Javascript?

Tom Germeau tom.germeau at gmail.com
Mon Sep 26 13:05:34 EDT 2005


I had that problem once too and i wrote a little function to do it.
I'll try to find it and put it online on epigoon.com (and mail you ;)
)

regards
Tom

On 9/25/05, David Murray <lid2000 at tpg.com.au> wrote:
> 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.
>
> David.
>
>
>
> 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
> >
> >
> >
> >
>
> _______________________________________________
> Project_owners mailing list
> Project_owners at mozdev.org
> http://mozdev.org/mailman/listinfo/project_owners
>


More information about the Project_owners mailing list