您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Great theme script by xyba yes
当前为
// ==UserScript== // @name Rscripts change theme etc. // @namespace http://tampermonkey.net/ // @version 0.1 // @description Great theme script by xyba yes // @author You // @match https://rscripts.net/ // @icon https://www.google.com/s2/favicons?domain=simply-how.com // @grant GM_setValue // @grant GM_getValue // @require http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js // @match *://*/* // ==/UserScript== (function() { 'use strict'; if (GM_getValue("version", "") < "1.0.1") { GM_setValue("version", "1.0.1"); alert("Thank you for using my theme script! - xyba"); } function addGlobalStyle(css) { var head, style; head = document.getElementsByTagName('head')[0]; if (!head) { return; } style = document.createElement('style'); style.type = 'text/css'; style.innerHTML = css; head.appendChild(style); } var all = document.getElementsByClassName('bg-dark'); for (var i = 0; i < all.length; i++) { all[i].style.setProperty("background-color", "#6700bc", "important"); } var all2 = document.getElementsByClassName('btn-secondary:hover'); for (var e = 0; e < all2.length; e++) { all[e].style.setProperty("background-color", "#1a0133", "important"); } //cards addGlobalStyle(".bg-dark { background-color: #8e3fff !important; } .card-title { color: #5e1bff; } .card-body { background-color: #080015; border-radius: 20px !important;} .card-body:hover { box-shadow: 0 30px 40px rgb(110 0 255 / 10%) !important; cursor: pointer; } .card { border-radius: 20px !important; } .section-title h2::after { background: #6200ff; }"); //body-background addGlobalStyle(" body::before { background: #040404 url(https://i2.wp.com/windowscustomization.com/wp-content/uploads/2019/01/Purple-Landscape.gif?resize=600%2C354&quality=80&strip=all&ssl=1) top right no-repeat; background-size: cover; position: fixed; top: 0; right: 0; left: 0; height: 100vh; z-index: -1; }"); //nav addGlobalStyle(".shadow { background-color: rgb(0 0 0 / 70%) !important; }"); //btn addGlobalStyle(".btn-secondary { border-color: #5a07a5; background-color: #000001 !important; } .btn-secondary:hover { border-color: #9f00ff !important; } "); var old_url = "assets/img/rscriptsnet.png?v4" var new_url = "https://media4.giphy.com/media/cJA1kboljf8r40bof9/giphy.gif" $(document).ready(function(){ $("img[src='"+old_url+"']").attr("src", new_url); }); var ald_url = "assets/img/rscriptsnet.png?v5" var aew_url = "https://media4.giphy.com/media/cJA1kboljf8r40bof9/giphy.gif" $(document).ready(function(){ $("img[src='"+ald_url+"']").attr("src", aew_url); }); var PTag = document.createElement('p'); PTag.setAttribute("id", "credits-theme"); PTag.setAttribute("style", "font-size: 1.4vh; position: absolute; padding-left: 190px; padding-top: 1.1vh;"); PTag.innerHTML = "Night Theme by Xyba"; $('.navbar-brand').prepend(PTag); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址