Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How to block an entire domain from having password remembered?

more options

At work I access https://localhost:xxxxx where xxxxx is a randomly generated port number from a range of thousands. It's extremely unlikely the same port will ever pop up, so I'm constantly being prompted to remember passwords. I'm wondering if it's possible to block Firefox from relentlessly offering to remember those passwords? Isn't there a way to prevent anything beginning with "https://localhost" from triggering the remember prompt?

At work I access https://localhost:xxxxx where xxxxx is a randomly generated port number from a range of thousands. It's extremely unlikely the same port will ever pop up, so I'm constantly being prompted to remember passwords. I'm wondering if it's possible to block Firefox from relentlessly offering to remember those passwords? Isn't there a way to prevent anything beginning with "https://localhost" from triggering the remember prompt?

All Replies (3)

more options

I don't know the answer, but can suggest something to try.

Could you type or paste about:permissions into the address bar and press Enter to open the Permissions Manager.

At the top of the left column is a search box to filter the list down to the host of interest.

If you can find an entry that doesn't show a port number (e.g., it was visited on port 80 or 443), does setting Block for Store Passwords affect visits on other ports?

Note: If there is no existing entry for the host without a port number, you might be able to add it to the list by saving a cookie exception for the host.

"3-bar" menu button (or Tools menu) > Options > Privacy

If the dialog does not show "Firefox will: Use custom settings for history" select that and then click the Exceptions button. Enter the host name with no protocol or port number and click Allow, then close out of the dialogs back to the page.

You probably need to refresh the about:permissions page before that shows up.

Any difference?

more options

Thanks for the suggestion!

I found "localhost" in the permissions. It was already set to block password storage.

I clicked "Forget about this site" Then visited again. It didn't prompt to remember the password for https://localhost, but it did prompt for https://localhost:35377. At that prompt I selected the option to never remember. I then went back into about:permissions and searched for localhost but got no results. I also get no results for localhost:35377 even though it would seem like it should be there since I chose the never remember option.

more options

Sounds like we need a new feature to do what you want to do.