![Firefox logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-13-8dda6f.png)
How to get rid of bookmark star?
How to get rid of bookmark star? I tried:
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); #bookmarks-menu-button toolbarbutton { visibility:collapse !important; }
by creating and putting it in a file "userChrome.css" in "chrome" folder in my profile, but it didn't work.
Is there another way?
Modifié le
Solution choisie
Nevermind, it turns out I was saving my files as userChrome.css.txt.
The code below does work:
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); #bookmarks-menu-button toolbarbutton { visibility:collapse !important; }
Lire cette réponse dans son contexte 👍 0Toutes les réponses (3)
Modifié le
The current version of the bookmarks star on the Navigation Toolbar consists of two buttons, one if the actual star button and the other is the drop marker that opens the drop-down list.
These are the selectors for both:
#nav-bar-customization-target #bookmarks-menu-button .toolbarbutton-menubutton-button #nav-bar-customization-target #bookmarks-menu-button .toolbarbutton-menubutton-dropmarker
Solution choisie
Nevermind, it turns out I was saving my files as userChrome.css.txt.
The code below does work:
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); #bookmarks-menu-button toolbarbutton { visibility:collapse !important; }