How do you deal with overly bright websites at night? I made a small Chrome extension for it: per-site brightness plus an auto day/night mode. Curious what you'd add.
Great question β I usually rely on OS-level Night Shift plus whatever dark mode the site offers, but that combo misses sites with no theme toggle, which is exactly where per-site brightness control would help. One thing I'd consider: respecting prefers-color-scheme so the extension defers to sites that already ship a proper dark theme, and only kicks in where the page ignores the media query. Also curious how you handle the white flash before the content script injects β that was the thing that drove me away from overlay-based dimmers.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Top comments (1)
Great question β I usually rely on OS-level Night Shift plus whatever dark mode the site offers, but that combo misses sites with no theme toggle, which is exactly where per-site brightness control would help. One thing I'd consider: respecting prefers-color-scheme so the extension defers to sites that already ship a proper dark theme, and only kicks in where the page ignores the media query. Also curious how you handle the white flash before the content script injects β that was the thing that drove me away from overlay-based dimmers.