Remove "Bookmark this page" from address bar
Firefox 89.0. How do you remove the "bookmark this page" star icon from the address bar?
所有回覆 (1)
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; }
- https://www.userchrome.org/what-is-userchrome-css.html
- https://www.userchrome.org/how-create-userchrome-css.html
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