您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
萌娘百科黑幕透明,添加边界框;删除线变下划线
// ==UserScript== // @name 萌娘-去黑幕-改-Plus // @namespace [email protected] // @version 0.2.1 // @description 萌娘百科黑幕透明,添加边界框;删除线变下划线 // @author mytreee // @match *://zh.moegirl.org.cn/* // @match *://mzh.moegirl.org.cn/* // @match *://*.hmoegirl.com/* // @grant GM_addStyle // @run-at document-idle // ==/UserScript== (function () { //替换<s>标签效果为下划线 GM_addStyle('s {text-decoration: underline}'); //令Decoration样式为下划线 document.querySelectorAll('del').forEach(e => e.style.textDecoration = 'underline'); //删除"你知道的太多了"标签 document.querySelectorAll('.heimu').forEach(e => e.title = ''); })(); (function () { //令黑幕BackgroundColor透明 document.querySelectorAll('.heimu').forEach(e => e.style.backgroundColor = '#ffffff00'); document.querySelectorAll('.heimu a').forEach(e => e.style.backgroundColor = '#ffffff00'); document.querySelectorAll('a .heimu').forEach(e => e.style.backgroundColor = '#ffffff00'); })(); //为黑幕文本添加一个Border框 (function () { document.querySelectorAll('.heimu').forEach(e => e.style.border = '1px solid #555'); document.querySelectorAll('.heimu a').forEach(e => e.style.border = '1px solid #555'); document.querySelectorAll('a .heimu').forEach(e => e.style.border = '1px solid #555'); })();