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(); })