Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blacklist for "Auto Dark Mode for Web Contents" flag #42481

Open
realgooseman opened this issue Nov 23, 2024 · 0 comments
Open

Blacklist for "Auto Dark Mode for Web Contents" flag #42481

realgooseman opened this issue Nov 23, 2024 · 0 comments

Comments

@realgooseman
Copy link

Platforms

all

Description

Basically a type of blacklist that disables the Auto Dark Mode for Web Contents flag on custom websites.
This would remove the need for a third-party extension like Dark Reader and be lighter on ressource usage as well.

How it would work:

  1. Go to brave://flags and enabling the #enable-force-dark flag will force dark mode on every page on restart
  2. Go to a website, right-click the page and you could add that website to the blacklist via a new context menu entry
  3. You could also manage the blacklist's websites from Brave's settings or Brave Shields pop-up (where it would fit the best)
  4. OPTIONAL - Ideally you could add RegExp rules to match URL's to blacklist via settings (like Dark Reader)

Opera (GX) which is also based on Chromium already has a similar feature for example.

If not possible or out of scope, has the Brave team ever considered a built-in dark mode tool that would invert light only websites and ditch the Chrome flag or the need for an extension like Dark Reader ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant