Hello! I have changed a few websites appearance with the userContent.css, but I’d like this to only apply to normal browsing, and not to private browsing. the UserChrome instead I’d like to be applied for both normal and private browsing. Is this possible? searching the web didn’t give me any useful result… thanks in advance!

  • tubbadu@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    my userContent.css file is a bunch of

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

    for each website I customized. however, this applies both to normal and private browsing, and I’d like it to apply only to normal browsing

    • MrOtherGuy@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      I don’t think it’s possible. It would require some privileged @media query or something similar. Or, potentially using media query to match a feature that isn’t available on private-browsing mode. There could be something like that, but I don’t know one.

      • tubbadu@lemmy.worldOP
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        thanks for the answer! I’d like to disable it because if sometimes some website interface fucks things up, I can check if it’s my fault or not, so visiting the site in private mode without my css would quickly show me who’s fault