您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
Dark mode, recolor background, etc
当前为
// ==UserScript== // @name MangaSee Customizations // @namespace http://greasyfork.icu/en/users/748980 // @version 0.3 // @description Dark mode, recolor background, etc // @author hotsno // @match https://mangasee123.com/* // @grant none // ==/UserScript== (function() { 'use strict'; var navbar = document.getElementsByClassName("navbar-nav")[0]; var subs = document.createElement("LI"); subs.classList.add("nav-item"); subs.innerHTML = '<a href="/user/subscription.php" class="nav-link"> <i class="fas fa-rss"></i> Subscriptions </a>' console.log(subs); navbar.appendChild(subs); // To change width, change the max-width value let css = ` /* Custom scrollbar */ /* Width */ ::-webkit-scrollbar { width: 10px; } /* Track */ ::-webkit-scrollbar-track { background: #000000; } /* Handle */ ::-webkit-scrollbar-thumb { background: #1a1a1a; } /* Handle on hover */ ::-webkit-scrollbar-thumb:hover { background: #212121; } /* Recolor background */ body, html { background-color: #000000 !important; } /* Bottom of page thingy*/ .DesktopNav { background: #000; } body, html { background-color: rgb(32, 35, 36) !important; } [class="MainContainer"] { background-color: #000 !important; } ` // I don't know what this does but this needs to be here lol if (typeof GM_addStyle !== "undefined") { GM_addStyle(css); } else { let styleNode = document.createElement("style"); styleNode.appendChild(document.createTextNode(css)); (document.querySelector("head") || document.documentElement).appendChild(styleNode); } })();