Why in userContent?
The code belongs in userChrome!
Look at the answer of your post here:
https://www.reddit.com/r/FirefoxCSS/comments/181dzn9/change_the_color_of_this_separators_in/
Post your unsupported Firefox customizations here!
From the makers of r/FirefoxCSS
Links
Related
Why in userContent?
The code belongs in userChrome!
Look at the answer of your post here:
https://www.reddit.com/r/FirefoxCSS/comments/181dzn9/change_the_color_of_this_separators_in/
It doesn’t work.
But isn’t this code in userContent because about:preferences is a webpage?
No! This is an 'modal-dialog', it is not a window nor a website, and it is a part of chrome!
https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement/showModal
But it doesn’t work in user chrome, it works in userContent but only if I don’t put it inside @ moz something. I don’t know why, I even created a new css file to do it and nothing.
@MrOtherGuy any ideas on what to do?
I managed to do it with this:
@-moz-document url("chrome://browser/content/preferences/dialogs/translations.xhtml"){
#alwaysTranslateLanguagesTree > treecols:nth-child(1) > treecol:nth-child(1) {
color: red !important;
}
}
in userContent outside of @-moz-document url("about:preferences")