this post was submitted on 23 Nov 2023
1 points (100.0% liked)

Firefox Customs

2 readers
7 users here now

Chat with us!

Post your unsupported Firefox customizations here!

From the makers of r/FirefoxCSS

Links

Related

Rules

  1. Posts must have flair!
  2. Posts cannot be memes/shitposts. They should be about Firefox customization with CSS.
  3. Please be civil. Bear in mind that many users come here for help and would be turned off by insults and rudeness.
  4. When posting large amount of code use a service dedicated to hosting text snippets, such as pastebin, hastebin, github gist or equivalent. Relatively short snippets can be wrapped in code-block for inline viewing.
  5. Do NOT use url-shorteners or link to compressed downloads (such as zip or rar) when sharing code.

founded 1 year ago
MODERATORS
 

Hello!

How could I change the separator color in about:preferences in the translation section?

When I put my code in userContent in @ -moz-document url("about:preferences#general")

It doesn't work, I guess that it's because it opens up in a new window, but when I put it outside of it it works, the only problem with that is that I don't know if it will also affect webpages.

Thanks!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 11 months ago* (last edited 11 months ago) (3 children)

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/

[–] [email protected] 1 points 11 months ago (2 children)

It doesn’t work.

But isn’t this code in userContent because about:preferences is a webpage?

[–] [email protected] 1 points 11 months ago* (last edited 11 months ago) (1 children)

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

[–] [email protected] 1 points 11 months ago

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?