Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

Learn More

userChrome.css vs. Add-on

  • Aucune réponse
  • 4 ont ce problème
  • 6 vues
more options

I've heard that running too many Add-ons can impact browser performance; is that equally true of the same functionality in userChrome.css ?

For example: With Firefox 4, users wanting to change the minimum tab width no longer can use "browser.tabs.tabMinWidth" in about:config .

To restore this functionality, an Add-on has been created*, or one can add an entry to userChrome.css

Which is more efficient performance-wise?


.tabbrowser-tab[fadein]:not([pinned]) {

min-width: 0px !important;
max-width: 950px !important;

}

I've heard that running too many Add-ons can impact browser performance; is that equally true of the same functionality in userChrome.css ? For example: With Firefox 4, users wanting to change the minimum tab width no longer can use "browser.tabs.tabMinWidth" in [http://about:config about:config] . To restore this functionality, an Add-on has been created*, or one can add an entry to userChrome.css Which is more efficient performance-wise? * [https://addons.mozilla.org/en-US/firefox/addon/custom-tab-width/ Custom Tab Width 1.0.1] ** This userChrome.css entry is working for me: .tabbrowser-tab[fadein]:not([pinned]) { min-width: 0px !important; max-width: 950px !important; }

Toutes les réponses (1)

more options

While it's possible for userChrome.css to slow down Firefox (depending on what it contains), the snippet you posted here is fairly efficient and should not cause any measurable effect on performance.

The add-on may or may not slow down Firefox, depending on how it is written. The author of that add-on is a member of the Firefox development team, and should be aware of common performance problems, so I would expect that the add-on will also not cause any slow-down.