为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

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

详细了解

Firefox change menu composition

  • 3 个回答
  • 0 人有此问题
  • 1 次查看
  • 最后回复者为 cor-el

more options

Hello! I want to remove help-button, password-button, addons-button from the (hamburger) menu of Firefox. To do this, I created a chrome folder in the browser profile, inside which there is a file userChrome.css. Contents of the css file

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

  1. appMenu-passwords-button,
  2. appMenu-extensions-themes-button,
  3. appMenu-help-button2

{ display:none !important; } This css file was removed from the menu: passwords, extensions. How can i remove help button? And second question - how to remove the copy and show password buttons from the passwords tab? Thnx for answers!

Hello! I want to remove help-button, password-button, addons-button from the (hamburger) menu of Firefox. To do this, I created a chrome folder in the browser profile, inside which there is a file userChrome.css. Contents of the css file : @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); #appMenu-passwords-button, #appMenu-extensions-themes-button, #appMenu-help-button2 { display:none !important; } This css file was removed from the menu: passwords, extensions. How can i remove help button? And second question - how to remove the copy and show password buttons from the passwords tab? Thnx for answers!
已附加屏幕截图

所有回复 (3)

more options

Note that hiding the Help menu and others in the "3-bar" Firefox menu button drop-down still leaves access via the menu bar and pages like about:logins can still be opened via the address bar.

There are policies like PasswordManagerEnabled and DisablePasswordReveal and OfferToSaveLogins.

If you have set the Primary Password, then you need to enter the PP to be able to copy or reveal the password.


If userChrome.css in the chrome folder in the Firefox profile folder isn't working, then check for issues and open the file in a Firefox tab.

In Windows saving the file is usually the only time things get more complicated because Windows can silently add a .txt or .css file extension and you end up with a file like userChrome.css.txt or userChrome.css.css. To avoid this, you need to make sure to select "All files" in the "Save File" dialog in the text editor.

In Firefox 69 and later you need to set this pref to true on the about:config page to enable userChrome.css and userContent.css.

more options

Last question is how to remove the copy button from about:logins or remove its action or set the size to 0 pixels so that it is not visible. Thank you! Update the tasks from the first message were completed, tnx for help.

由ursolacoral于修改

more options

That is about this code in userContent.css, so not in userChrome.css as this is about styling a webpage. You can possibly leave out .copy-username-button.

@-moz-document url-prefix(about:logins){
  .copy-username-button,
  .reveal-password-checkbox,
  .copy-password-button {
     display:none !important;
  }
}