Force Google Dark Mode

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

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Author
HappySmacky3453
Daily installs
0
Total installs
27
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!