VOGONS


First post, by DracoNihil

User metadata
Rank Oldbie
Rank
Oldbie

I spent several hours today trying to figure this out and I litterally cannot. No search result has been helpful in the slightest; all point to several things in about:config I have already changed accordingly. "userChrome.css" is being loaded and is actually altering the Firefox UI but it refuses to load "userContent.css" whatsoever no matter what I put in it, no matter how I format it.

I can't get any explanation why in the console either.

“I am the dragon without a name…”
― Κυνικός Δράκων

Reply 1 of 1, by UCyborg

User metadata
Rank Oldbie
Rank
Oldbie

Mind sharing the content of your userContent.css? At least this banal example works for me:

@-moz-document domain("google.com") {
body {
background-color: red !important;
}
}

With toolkit.legacyUserProfileCustomizations.stylesheets enabled in about:config. Another option is StyloaiX from here. Should behave more similarly like if you use Stylus or similar extension. In the example above, "!important" can be omitted in that case, which makes sense considering https://www.google.com/ doesn't contain that selector that would need overriding with "!important" to work.

Arthur Schopenhauer wrote:

A man can be himself only so long as he is alone; and if he does not love solitude, he will not love freedom; for it is only when he is alone that he is really free.