搜尋 Mozilla 技術支援網站

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

Learn More

Remove "Bookmark this page" from address bar

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

more options

Firefox 89.0. How do you remove the "bookmark this page" star icon from the address bar?

Firefox 89.0. How do you remove the "bookmark this page" star icon from the address bar?
附加的畫面擷圖

所有回覆 (1)

more options

You can no longer remove the star from the location bar via the right-click context menu or via customize mode in 89+. You now need to use code in userChrome.css to hide the star.

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

#star-button-box { 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