dark-background-light-text-extension icon indicating copy to clipboard operation
dark-background-light-text-extension copied to clipboard

Doesn't work on certain sites (example)

Open psarno opened this issue 3 years ago • 1 comments

I'm running v0.7.6 on Firefox 86.0.1.

The extension refuses to apply to certain elements on some sites in default (stylesheet processor). I can usually fix this by switching to another mode (simple CSS, or as a last resort, invert).

However, on some sites it still will not override, such as:

https://harshp.com/research/blog/browser-communities-do-more-for-consent

On this page, going into the browser's inspector and disabling the following rule allows the removal of the white background:

:root { --background: #EFEFEF; }

All three modes, including invert, do not affect this. Am I missing something?

psarno avatar Mar 20 '21 22:03 psarno

On this particular website offending CSS rule seems to be

html {
    background-size: 22px 22px;
}

And it works good for me with Invert. Thanks for the report, I should probably somehow handle background-size.

m-khvoinitsky avatar Mar 22 '21 19:03 m-khvoinitsky