[SOLVED]userChrome.css not work with firefox

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED]userChrome.css not work with firefox

Postby nexus » Mar 20th, '24, 13:22

I try use config file ~/.mozilla/firefox/(profile)/chrome/userChrome.css but it not work. With standalone version of firefox work. Is another place where i need put this config file?
Last edited by nexus on Mar 20th, '24, 18:47, edited 1 time in total.
nexus
 
Posts: 36
Joined: Jan 16th, '18, 16:05

Re: userChrome.css not work with firefox

Postby sturmvogel » Mar 20th, '24, 15:24

You need to make Firefox aware of the css file. From Firefox 69 onwards, the file is ignored unless you tell it to use it.
sturmvogel
 
Posts: 738
Joined: Jul 30th, '12, 00:39

Re: userChrome.css not work with firefox

Postby nexus » Mar 20th, '24, 17:00

sturmvogel wrote:You need to make Firefox aware of the css file. From Firefox 69 onwards...
Are you thinking about opening it for preview?

I need use this file for apply css to behavior of firefox. In my case
Code: Select all
/* Hide Tab bar with only one Tab - [110] */
#tabbrowser-tabs .tabbrowser-tab:only-of-type,
#tabbrowser-tabs .tabbrowser-tab:only-of-type + #tabbrowser-arrowscrollbox-periphery{ display:none !important;}
#tabbrowser-tabs, #tabbrowser-arrowscrollbox{ min-height:0!important;}
#alltabs-button{ display:none !important;}
nexus
 
Posts: 36
Joined: Jan 16th, '18, 16:05

Re: userChrome.css not work with firefox

Postby doktor5000 » Mar 20th, '24, 18:24

Do you have toolkit.legacyUserProfileCustomizations.stylesheets set to true with the Mageia firefox version ?
This is also mentioned in the documentation for userchrome: https://www.userchrome.org/firefox-chan ... e-css.html
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18042
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: userChrome.css not work with firefox

Postby nexus » Mar 20th, '24, 18:44

doktor5000 wrote:Do you have toolkit.legacyUserProfileCustomizations.stylesheets set to true...
no

After change to true works. Thank you very much.
nexus
 
Posts: 36
Joined: Jan 16th, '18, 16:05


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron