您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
dark mode on glowfic.com
// ==UserScript== // @name Glowfic dark mode // @namespace https://greasyfork.org/en/users/1409385 // @version 2024-12-10 // @license MIT // @description dark mode on glowfic.com // @author laskdfhlsajdfl // @match https://glowfic.com/posts/* // @match https://www.glowfic.com/posts/* // @match https://www.projectlawful.com/posts/* // @icon https://www.google.com/s2/favicons?sz=64&domain=glowfic.com // @grant none // ==/UserScript== (function() { 'use strict'; function addStyle(styleString) { const style = document.createElement('style'); style.textContent = styleString; document.head.append(style); } addStyle(` body { background-color: black } #logo { background-color: #333333 } #header { background-color: #222222; color: #bbbbbb; } .flash.breadcrumbs { background-color: #181818; color: #eeeeee } .flash.error { background-color: #111111; color: #eeeeee } .post-expander { background-color: #222222; color: #999999 } #content { background-color: #080808 } .content-header { background-color: #151515; } .post-subheader { background-color: #1b1b1b; color: #aaaaaa } .post-navheader { background-color: #222222; } .post-container { background-color: #111111 !important } .post-content { color: #dddddd } .post-icon { background-color: #151515 } .post-info-text { background-color: #101010 } .post-character { background-color: #222222 } .post-screenname { background-color: #1b1b1b; color: #aaaaaa } .post-author { background-color: #181818 } .paginator { background-color: #181818; color: #eeeeee } .previous_page.disabled { color: #888888 } .next_page.disabled { color: #888888 } .pagination a:visited { color: #bbbbbb } .post-footer { color: #777777 } `) })();