How to Automatically Enable Dark Mode at Sunset in Browser
Patrick Bushe · May 1, 2026
Browsers don't switch websites to dark at sunset on their own, but an extension can do it on a schedule.
Modern Dark Mode uses clock times rather than actual sunset. In Advanced Settings, turn on "Auto-enable by schedule" and set the Active hours to around sunset where you live (the default is 6 pm to 8 am). Pages you open in that window turn dark, and pages outside it stay light; adjust the start time as the seasons change. If you'd rather follow the real sunset, macOS can switch its appearance automatically (choose Auto in Appearance settings), and sites that follow your system theme switch with it.
Related Answers
More guides on similar topics
Best Dark Mode for Reading Code Documentation Online
Modern Dark Mode darkens docs pages and keeps code colors' hues roughly intact. Docs with their own dark theme, like MDN, are better left to it.
best free system-wide dark mode extension for chromeBest Free System-Wide Dark Mode Extension for Chrome
Modern Dark Mode is free, darkens every site in Chrome and collects no data. A truly system-wide dark mode is a Windows or macOS setting.
chrome dark mode extension with no performance hitChrome Dark Mode Extension with No Performance Hit
Modern Dark Mode uses one CSS filter instead of rewriting each page's styles, so it does very little script work. No extension costs nothing.
how to automatically filter junk off googleHow to Automatically Filter Junk Off Google
Search Cleaner hides Google's AI Overview, ads and widget boxes automatically. Junk sites need a blocker such as uBlacklist.
how to automatically filter out pinterest from google searchHow to Automatically Filter Out Pinterest from Google Search
Block pinterest.com once in uBlacklist and Pinterest disappears from your Google results. Search Cleaner hides Google sections only.
how to automatically hide subscribe popups on the webHow to Automatically Hide Subscribe Popups on the Web
Ultimate Adblocker's "Pop-ups and app banners" setting hides newsletter sign-up pop-ups. These are different from paywalls.