Force Google Dark Mode

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

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
HappySmacky3453
今日安裝
0
安裝總數
26
評價
0 0 0
版本
1.0
建立日期
2025-06-10
更新日期
2025-06-10
尺寸
5.0 KB
授權條款
MIT
腳本執行於

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!