Hi!
I tried to create a chrome folder inside the Profile Folder and put my userContent.css there, but the file didn't work. I ejected the USB and stick it again, nothing. Do I have to put it in another folder or it won't work at all?
Regards!
New: Kanri (Oct 09, 2024), Platform 29.5.3 (Jun 27, 2024)
1,100+ portable packages, 1.1 billion downloads
No Ads November!, Please donate today
Hi!
I tried to create a chrome folder inside the Profile Folder and put my userContent.css there, but the file didn't work. I ejected the USB and stick it again, nothing. Do I have to put it in another folder or it won't work at all?
Regards!
If your directory includes the following sub-folders:
...\Data\profile\chrome\userContent.css
then, you've placed your "userContent.css" file in the right place.
File not working. Did it work before, in another installation, maybe, or this is your first attempt?
If it is something wrong with the css coding, Firefox would provide a clue about it through the "Browser Console", so, check it out.
✔️ File in the right place;
✔️ The file works with the Firefox installed on my notebook;
✔️ Code is ok (at least works on the installed version);
Additional information:
I tried with both User and Developer Firefox edition, using and not using Private Mode. Failed at all.
When you say it's not working, can you clarify what you mean by that?
Example:
@-moz-document domain(www.rememberthemilk.com) {
.b-rl {
background-color:#ffffff !important;
}
.b-Sl {
background-color:#ffffff !important;
}
.b-zr-Ar {
background-color:#ffffff !important;
}
}
This code was suposed to change the background color, but it isn't.
To confirm, are you making these changes when Firefox is not running?
But that would make a difference? Even if was with FF open, when I close and open again, it was supose to work.
All we're doing is running Firefox with the -profile switch pointing to Data\profile as the profile directory. If you're creating a chrome directory there and using the exact same css file from your local profile which works, it's a bug in Firefox somewhere. We don't modify Firefox at all. We just handle some adjustments before and after running it.
Sometimes, the impossible can become possible, if you're awesome!
@ hhmacedo
It's a known bug, introduced with e10s Multi-process Firefox, a.k.a. Electrolysis, which, if enabled, renders userChrome.css and userContent.css files useless.
I just wasn't aware about this, as for my daily browsing I use an older version of Firefox.
If you wish to disable the Multi-process, you can do it in about:config by toggling the "browser.tabs.remote.autostart.2" user set preference from true to false. There's also a "browser.tabs.remote.autostart" preference which is set to false as default. That's the status I found in version 49.0.1, and the newest 49.0.2 of the Firefox - Update Channel: release.
Not it works! Thank you.
I gather you've meant to type "Now" instead of "Not", so, I'm glad to hear that this has worked for you.
Problem solved, however, I must make a correction regarding my previous post, where I stated that the "userChrome.css" file was affected by the bug as well. If that had ever been a case in the past, it does not apply now, to the current Firefox Release version 49.0.2, according to my tests done after posting the above. In my post, I was just repeating what I had read in the following article:
"userChrome.css and userContent.css Codes No Longer Working in Mozilla Firefox"
https://websetnet.com/userchromecss-usercontentcss-codes-longer-working-...
In my tests, while the bug rendered 99.9% of the rules in my "userContent.css" ineffective, the "userChrome.css" rules were working just fine, by what I could see.