搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

Can I block saving passwords by default but allow a few exceptions?

  • 4 个回答
  • 2 人有此问题
  • 9 次查看
  • 最后回复者为 the-edmeister

more options

For my father's PC (who is a senior citizen), I would like to generically block Firefox from remembering passwords. However I would like it to remember the password for a few select websites (Yahoo Mail, Facebook, NYTimes). Is this possible?

You seem to be ale to generically allow Firefox to remember passwords and block certain websites. But not vice-versa.

I've tried going to: "about:permissions" but if you change the Default Permissions for All Pages to Block for Store Passwords, then that also blocks passwords for any individual entries

For my father's PC (who is a senior citizen), I would like to generically block Firefox from remembering passwords. However I would like it to remember the password for a few select websites (Yahoo Mail, Facebook, NYTimes). Is this possible? You seem to be ale to generically allow Firefox to remember passwords and block certain websites. But not vice-versa. I've tried going to: "about:permissions" but if you change the Default Permissions for All Pages to Block for Store Passwords, then that also blocks passwords for any individual entries

所有回复 (4)

more options

I believe that if you save passwords for specific sites and then un-tick "Remember passwords for sites", Firefox will use the ones already saved but won't offer to save passwords for anymore websites.

more options

You will have to toggle the Password Manager on/off to have Firefox save or fill names and passwords. Only if the Password Manager is enabled then you can use it.

Maybe it is an idea to hide the notification icon and the popup (or only the popup) on the Navigation Toolbar, so that Firefox won't offer to remember passwords.


Add code to the userChrome.css file below the default @namespace line.


@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

#password-notification-icon { display: none !important; }
#notification-popup[popupid="password-save"] { display: none !important; }

The customization files userChrome.css (user interface) and userContent.css (websites) are located in the chrome folder in the Firefox profile folder.

  • Create the chrome folder (lowercase) in the <xxxxxxxx>.default profile folder if this folder doesn't exist
  • Use a plain text editor like Notepad to create a (new) userChrome.css file in this folder (the names are case sensitive)
  • Paste the code in the userChrome.css file in the editor window and make sure that the userChrome.css file starts with the default @namespace line
  • Make sure that you select "All files" and not "Text files" when you save the file via "Save file as" in the text editor as userChrome.css. Otherwise Windows may add a hidden .txt file extension and you end up with a not working userChrome.css.txt file

You can use this button to go to the currently used Firefox profile folder:

more options

No - if you un-tick "Remember passwords for sites" then Firefox no longer fills-in the boxes

more options

Sorry, its been long while since I tried doing that.