您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
css字体大小 内容屏蔽 id # class .
// ==UserScript== // @name Gcss new // @namespace ScriptCat // @description css字体大小 内容屏蔽 id # class . // @version 220505.21 // @author You // @license MIT // @run-at document-start // @match *://*/* // @include * // @exclude *sina* // @exclude *pan* // @exclude *baidu* // @exclude *weather.com.* // @exclude *file:///android_asset/* // @exclude *bing.com* // @exclude *google* // @exclude *youtube* // @exclude *123.com* // @exclude *ysepan* // @exclude *jianguoyun* // @exclude *jd.com* // @exclude https://go.itab.link/# // @grant none // ==/UserScript== /*body > [href^="固定/批量匹配"]{}无^固定指定 body > embed[id][src]{display:none !important} .com:*.js?v=17$third-party ||stescud.com^$third-party ! 广告网址 stescud.com m.biquge365.net^$script m.xsbiquge.la###chaptercontent > p:nth-of-type(1) www.sudugu.com##a[href="/xianxia/"] */ !(function() { 'use strict'; // 通过CSS预先隐藏元素,避免闪烁 var css = ` div.cccvvv{font-size:23px} 8html{margin-left: 5px;margin-right:45px} #content, #cContent, .content, .container, #mycontent, div#htmlContent, DIV#chaptercontent, DIV.chapter-content, #txt,DIV.txt,DIV.con, DIV.txtnav, DIV.articlecontent, DIV#novelcontent, div#nr1, DIV#Lab_Contents, DIV#neirong1{background:#fff;color:#000;font-size:23px;line-height: 38px;text-indent: 0em;padding-left: 26px;padding-right:24px} DIV.###{background:#fff;color:#000;font-size:4px;padding-left: 26px;padding-right:24px} P.cp{background:#fff;color:#000;font-size:23px;line-height: 38px;text-indent: 0em;} DIV.fixed.bottom-48px.right-21px.z-1{display:none !important} /*qidian*/ DIV#device, DIV.read_tj{display:none !important} #zuoyoufy{display:none !important} script{display:none!important;} DIV.vsbdl,DIV.sqtio,DIV#y2mmzi3uno{display:none!important;} `; var style = document.createElement('style'); style.type = 'text/css'; style.appendChild(document.createTextNode(css)); document.head.appendChild(style); // 确保元素在DOM加载后依然隐藏 document.addEventListener('DOMContentLoaded', function() { var elements = ['A.btn-addbs','DIV.m-setting']; elements.forEach(function(selector) { var element = document.querySelector(selector); if (element) { element.style.display = 'none'; } }); }); })();