→Fades
Dark to bright is the jump that hurts, so it gets softened.
Open source · Firefox + Chrome
Dark Background Anti-Flash smooths out the blinding white flash on page loads and tab switches—with a dark overlay that fades out on its own.
Settings saved.
Zero flashDark overlay fades in and out smoothly
Fully privateNo servers, no analytics, no data collection
Your rulesPer-site blacklist or whitelist
How it works
document_start and paints a dark overlay before the page's first frame.Shown in slow motion so each step is visible. Hold and fade times are adjustable, separately for page loads and tab switches.
Before fading, the extension checks whether you're coming from a dark (or unknown) screen and going to a bright one, across sites and on tab switches.
→Fades
Dark to bright is the jump that hurts, so it gets softened.
→No fade
Your eyes are already adjusted to bright pages, so there's nothing to soften.
→No fade
A dark destination can't flash you, so the guard clears right away.
What it does
A temporary dark overlay covers the page on load and on tab switch, then fades out smoothly once the page has settled.
Detects bright pages automatically and can replace bright CSS backgrounds outright, not just mask them.
Fades only trigger moving from a dark or unknown surface into a bright one—including across origins—so it never gets in the way.
Blacklist pages where you never want it, or whitelist only the ones where you do.
Real settings, not a demo
Tune the overlay color, timing, and thresholds—or leave the defaults and forget it's there.
Configure preload color, transitions, and detection
These are the actual settings inside the extension.Private by default
The extension processes the current page's URL and rendered colors locally, only to decide whether and how to apply its effects. Preferences and per-site rules are stored with the browser's own sync storage—the developer doesn't run a server and never receives them.
Keep independent tools alive
Dark Background Anti-Flash is free and open source. Donations help cover the time spent maintaining it across Firefox and Chrome releases.
Donate to this project ♥ Secure donation through PayPal. Every amount helps cover ongoing maintenance.