darkmode-js

darkmode

// ==UserScript==
// @name        darkmode-js
// @namespace   http://tampermonkey.net/
// @match       *://*/*
// @grant       GM_addStyle
// @version     1.0
// @author      anonymous
// @description darkmode
// @require https://cdn.jsdelivr.net/npm/[email protected]/lib/darkmode-js.min.js
// ==/UserScript==

window.addEventListener('load', ()=>{
    GM_addStyle(`.darkmode-layer, .darkmode-toggle {
      z-index: 500;
    }`)
    new Darkmode().showWidget();
})

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址