Søg i Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Customise extension css using chrome/userChrome.css

  • 3 svar
  • 1 har dette problem
  • 119 visninger
  • Seneste svar af ikhalil

more options

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

  1. closer { display: none !important }

but didnt work?

See image below

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
Vedhæftede skærmbilleder

Æ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 👍 0

Alle svar (3)

more options

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.

more options

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.

more options

no that didnt work?