dark-mode icon indicating copy to clipboard operation
dark-mode copied to clipboard

website issue: dark mode is applied and then reset by the website

Open rudolfolah opened this issue 2 years ago • 0 comments

Example of this: https://www.theglobeandmail.com/

The extension takes effect and then some more JS is loaded that resets the site. It's funny, I actually was looking for this kind of extension because of that particular news site.

You can see in the Performance tab that there's a chunk of time where the extension works:

Screenshot 2023-10-29 at 9 03 35 AM

And then it's reset: Screenshot 2023-10-29 at 9 03 48 AM

Also, some of the dark mode is not reset, there's a text area comment that correctly shows up.

One hacky solution would be to allow re-applying the styles a few seconds after page load, based on a per-website setting.

rudolfolah avatar Oct 29 '23 13:10 rudolfolah