您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Fuck CSDN!
当前为
// ==UserScript== // @name Fuck CSDN // @version 0.4 // @description Fuck CSDN! // @author 流星暴雨 // @grant none // @match http*://blog.csdn.net/* // @run-at document-body // @homepageURL https://greatest.deepsurf.us/scripts/374950 // @supportURL https://greatest.deepsurf.us/scripts/374950 // @namespace Eternal // ==/UserScript== (function() { 'use strict'; $(function() { $("#article_content").css("height",''); $(".hide-article-box").remove(); $(".fourth_column").remove(); $(".pulllog-box").remove(); $(".box-shadow").remove(); $(".adsbygoogle").parent().remove(); $("#commentBox").prev().remove(); $(".recommend-ad-box").remove(); $("#adContent").remove(); }); var timer1=setInterval(function (){ if($(".right-item[id]").size()>0){ clearInterval(timer1); setTimeout(function (){ $(".right-item[id]").remove(); },50) } },10); window.setInterval_=setInterval; document.body.insertBefore_=document.body.insertBefore; var timer; var mysetInterval=function (fun,time){ //console.log(fun+''); if((fun+'').match("check-adblock-time")){ //$(".adblock").remove(); //"function" == typeof window.csdn.insertcallbackBlock && window.csdn.insertcallbackBlock(); /*timer=setInterval_(function (){ if($(".check-adblock-bg").size()>0){ clearInterval(timer); $(".check-adblock-bg").parent().remove(); } },10);*/ return null; }else{ return setInterval_(fun,time); } } var myinsertBefore=function (ele,box){ //console.log(ele.innerHTML); if(ele.innerHTML.match("ADP")||ele.innerHTML.match("广告")){ return document.body; }else{ return document.body.insertBefore_(ele,box); } }; document.body.insertBefore=myinsertBefore; setInterval=mysetInterval; console.log("Fuck CSDN!") })();