Solved

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

Posted on 2007-11-28
7
385 Views
Last Modified: 2013-12-07
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

0
Comment
Question by:bluegreenone
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
7 Comments
 
LVL 21

Accepted Solution

by:
nizsmo earned 500 total points
ID: 20371397
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
 

Author Comment

by:bluegreenone
ID: 20435136
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
 
LVL 21

Expert Comment

by:nizsmo
ID: 20435424
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
 

Author Comment

by:bluegreenone
ID: 20915560
AutoAuth worked as suggested, thanks.
0
 
LVL 1

Expert Comment

by:Computer101
ID: 20943749
Forced accept.

Computer101
Community Support Moderator
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Several part series to implement Internet Explorer 11 Enterprise Mode
This article discusses how to implement server side field validation and display customized error messages to the client.
Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
Suggested Courses

622 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question