Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Exclude site for Global Dark Style

Hello, does anyone know how to exclude sites for Global Dark Style? There is this option in the code /*----- SITES TO EXCLUDE -----*/, but I couldn't figure out how to put in the link of the site yet. Does anyone know how to do it? Thank you.

Comments

  • edited December 8 Firefox

    There's not much to understand.

    Original:

    @-moz-document regexp("https?://(?!(www\.your\.sites\.here\.com|forum\.example\.com)).*"), url-prefix(ftp://), url-prefix(file://), url-prefix(about:), url-prefix(javascript)
    

    Just exchange the examples with your own sites, like

    @-moz-document regexp("https?://(?!(yahoo\.com|forum\.userstyles\.org|github\.com|www\.amazon\.com)).*"), url-prefix(ftp://), url-prefix(file://), url-prefix(about:), url-prefix(javascript)
    
  • Thank you for the reply. I probably did something wrong, I tried it this way but it didn't really work.
  • So does it work now?
    If not, please post your code.
  • No it doesn't. I don't know where I have to put in the link in that code you sent and what is meant with "forum.example.com".
  • You need to edit the code of the global dark style. You can do that by opening the Stylish menu and click the pen symbol belonging to that style.

    Somewhere in that style you find what I wrote as "original".
  • Yeah, I already found that, but I don't know where to put in my link in that code. It looks like this:
    684 x 140 - 21K
  • edited December 8 Firefox

    If you use Stylus you can obtain it below the section in the Applies to input field

Sign In or Register to comment.