Mozilla 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 प्रत्युत्तर
  • 1 यह समस्या है
  • 114 views
  • के द्वारा अंतिम प्रतियुतर 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
संलग्न स्क्रीनशॉट

ikhalil द्वारा सम्पादित

चुने गए समाधान

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.

संदर्भ में यह जवाब पढ़ें 👍 0

All Replies (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

चयनित समाधान

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.