您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Apply stackoverflow dark theme without login
// ==UserScript== // @name Dark Theme Stackoverflow // @description Apply stackoverflow dark theme without login // @version 0.2 // @run-at document-start // @match https://*.stackoverflow.com/* // @icon https://stackoverflow.com/favicon.ico // @author Fznhq // @namespace https://github.com/fznhq // @homepageURL https://github.com/fznhq/userscript-collection // @license GNU GPLv3 // ==/UserScript== (function () { "use strict"; new MutationObserver((_, observer) => { if (document.body) { document.body.classList.add("theme-dark"); observer.disconnect(); } }).observe(document.documentElement, { subtree: true, childList: true }); })();