Force Google Dark Mode

Automatically and resiliently enables dark mode on Google, handling multiple UI versions and DOM changes.

Author
HappySmacky3453
Daily installs
0
Total installs
2
Ratings
0 0 0
Version
1.0
Created
2025-06-10
Updated
2025-06-10
Size
4.99 KB
License
MIT
Applies to

Tired of Google forgetting your dark mode preference? This script automatically and reliably forces Google's dark theme on every visit.

Features:

Automatic: No clicks needed. It finds and activates the dark mode toggle for you.

Resilient: Actively watches for the theme toggle to appear, making it work even when Google changes its layout or on slow connections.

Fast: Runs at the earliest possible moment to prevent the jarring "flash of white" when a page loads.

Efficient: Checks if dark mode is already on and stops running to save resources.

Works on the Google homepage, search results, and settings pages. Set it and forget it!

长期地址
遇到问题?请前往 GitHub 提 Issues。