Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


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

Posted on 2007-11-28
Medium Priority
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?


Open in new window

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

Accepted Solution

nizsmo earned 2000 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.

Author Comment

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?
LVL 21

Expert Comment

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.

Author Comment

ID: 20915560
AutoAuth worked as suggested, thanks.

Expert Comment

ID: 20943749
Forced accept.

Community Support Moderator

Featured Post

Build and deliver software with DevOps

A digital transformation requires faster time to market, shorter software development lifecycles, and the ability to adapt rapidly to changing customer demands. DevOps provides the solution.

Question has a verified solution.

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

JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
A while back, I ran into a situation where I was trying to use the calculated columns feature in SharePoint 2013 to do some simple math using values in two lists. Between certain data types not being accessible, and also with trying to make a one to…
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

721 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