Customise extension css using chrome/userChrome.css
I have foxclocks installed "{d37dc5d0-431d-44e5-8c91-49419370caa1}.xpi"
I like to hide the "closer" in fox clocks but how do I reference it in chrome/userChrome.css
I tried
- closer { display: none !important }
but didnt work?
See image below
Ændret af ikhalil den
Valgt løsning
It looks like the extension is injecting its code to web content, not to chrome. Try the same with userContent.css. And don't forget set the pref toolkit.legacyUserProfileCustomizations.stylesheets to true in about:config.
Læs dette svar i sammenhæng 👍 0Alle svar (3)
WARNING from the moderator team: userChrome.css scripts are not provided by Mozilla and is not officially supported. Firefox is a work in progress and, to allow for continuous innovation, Mozilla cannot guarantee future updates won’t impact your customizations. For this reason, Mozilla does not officially support style rules customization.
Please read Firefox Advanced Customization and Configuration Options to learn more.
You may wish to contact the author of the add-on who may be able to help you with their add-on.
Valgt løsning
It looks like the extension is injecting its code to web content, not to chrome. Try the same with userContent.css. And don't forget set the pref toolkit.legacyUserProfileCustomizations.stylesheets to true in about:config.
no that didnt work?