搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

How to Hide "Fill Login" in Right Click Menu?

  • 1 回覆
  • 1 有這個問題
  • 10 次檢視
  • 最近回覆由 cor-el

more options

Is there an 'about:config' toggle for me to disable the "fill login" option when I right click in a username or password field on a website? I do not use Firefox lockwise or any of the browser's autofill settings and would like to hide the right click menu as well as turning the feature off entirely, as it clutters the UI.

I also wouldn't mind being able to hide the "Logins and Passwords" section in the drop down menu on the right. Is there a toggle for that as well?

I have attached a screenshot of the UI element(s) I'm asking to hide.

Thanks.

Is there an 'about:config' toggle for me to disable the "fill login" option when I right click in a username or password field on a website? I do not use Firefox lockwise or any of the browser's autofill settings and would like to hide the right click menu as well as turning the feature off entirely, as it clutters the UI. I also wouldn't mind being able to hide the "Logins and Passwords" section in the drop down menu on the right. Is there a toggle for that as well? I have attached a screenshot of the UI element(s) I'm asking to hide. Thanks.
附加的畫面擷圖

所有回覆 (1)

more options

If "Fill Login" is enabled (not grayed) like in your screenshot then this would mean that you have stored a login for this website and those logins are managed in Lockwise. You can use this menu item to fill a login in stead of u autofill.

Don't you see a suggestion if you open the "Fill Login" sub menu ?


You can possibly use code in userChrome.css to hide entries in the context menu. See this file for possible selectors to use.

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 */

/* hide fill-login items */
#fill-login {display:none!important;}
/* hide fill-login separator */
#fill-login-and-generated-password-separator {display:none!important;}

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 in the chrome folder.

  • toolkit.legacyUserProfileCustomizations.stylesheets = true

See: