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

bluegreenoneAsked:
Who is Participating?
 
nizsmoConnect With a Mentor DeveloperCommented:
no, this is completely up to the user, and is by design in regards to firefox, for better protection of the users in general.
0
 
bluegreenoneAuthor Commented:
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?
0
 
nizsmoDeveloperCommented:
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.
0
 
bluegreenoneAuthor Commented:
AutoAuth worked as suggested, thanks.
0
 
Computer101Commented:
Forced accept.

Computer101
Community Support Moderator
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.