Link to home
Start Free TrialLog in
Avatar of bluegreenone
bluegreenone

asked on

using http authentication in bookmarklet forces dialog confirmation, how to avoid?

I have created a javascript bookmarklet that uses URL-based http authentication (see code snippet).  Firefox for security reasons forces a dialog confirmation the first time the bookmarklet is called:  "You are about to log into the website...with username....".  I'd like to "automate" the bookmarklet, is there any way to avoid the dialog or auto-accept it?

javascript:void(newwindow=open('http://myuser:mypass@example.com/','test','toolbar=no,width=500,height=150'));

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Joe Wu
Joe Wu
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bluegreenone
bluegreenone

ASKER

OK, but I want to use the bookmarklet on my own browser only, is there no way I can override or workaround this if I also control the browser install?
You can try adding the site to a list of trusted sites, but if that still doesn't work, then i doubt that it can be done.
AutoAuth worked as suggested, thanks.
Forced accept.

Computer101
Community Support Moderator