Is it possible to create a Firefox shortcut with username and password stored inside? Even if the cookies got cleared the username and password should remain.

  • If possible, that would have been a way to bypass the username and password validation. I hope it's not. Jul 10, 2011 at 7:33
  • @mikewhatever This wouldn't bypass authentication. It would automatically perform it. Oct 6, 2012 at 12:37

2 Answers 2


WARNING: this method is insecure since bookmarks are not encrypted, which means anyone with access to your machine could login with your credentials if you save bookmarks this way.

Most web browsers support the following syntax:


For example,


Using this syntax will work in a Firefox bookmark (though FF will warn you when you click it)

Note that this only works for websites that use HTTP password authentication (.htpasswd files in Apache). This won't work, for example, on Facebook.

  • This is insecure, since bookmarks are unencrypted. Jul 11, 2011 at 6:13
  • @lovinglinux No argument from me there! Jul 11, 2011 at 11:42

Get Secure Login extension. It allows to store bookmarks with login data (you need to enable that option in the extension preferences). It is secure, because it doesn't store the password or the user in the bookmark url, but just the reference to the Secure Login data, which is retrieved from the password manager and thus can be protected with a Master Password, which is highly recommended btw.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.