// ==UserScript== // @name 【伟哥自用】某堂去广告 // @namespace bbs.tampermonkey.net.cn // @version 0.11 // @description 某堂去广告 // @author monkey // @match http*://*e*ua*ang.org/* // @match http*://*e*ua*ang.net/* // ==/UserScript== (e=>{const t=document.createElement("style");t.dataset.source="vite-plugin-monkey",t.innerText=e,document.head.appendChild(t)})("div#diy_chart.area,.show-text.cl,.show-text4.pad-tb-10,.show-text2.pad-tb-10,.show-text2,.ptn.xg2{display:none!important}"); // (function() { // "use strict"; // var styles = "/* homepage */\ndiv#diy_chart.area,.show-text.cl{/* homepage large pic homepage asian */\n display: none !important;\n}\n\n/* thread-123-123-1.html */\n.show-text4.pad-tb-10,.show-text2.pad-tb-10{/* thread banner */\n display: none !important;\n}\n\n/* forum-123-1.html */\n.show-text2,.ptn.xg2{/* banner & rules*/\n display: none !important;\n}"; // function addStyle(css) {/* stolen from cxxjackie https://scriptcat.org/script-show-page/144/code */ // const style = document.createElement("style"); // style.type = "text/css"; // style.innerHTML = css.replace(/(^|\n|(?<=:))\s*|\s*(?={)/g, ""); // document.head.appendChild(style); // return style; // } // addStyle(styles); // })();