Greasy Fork

Greasy Fork is available in English.

Force Google Dark Mode

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

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
HappySmacky3453
日安装量
0
总安装量
25
评分
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!