Fuck CSDN!
当前为
// ==UserScript==
// @name Fuck CSDN
// @version 0.2
// @description Fuck CSDN!
// @author 流星暴雨
// @grant none
// @match http*://blog.csdn.net/*
// @namespace Eternal
// ==/UserScript==
(function() {
'use strict';
$("#article_content").css("height",'');
$(".hide-article-box").remove();
$(".fourth_column").remove();
window.setInterval_=setInterval;
var timer;
var mysetInterval=function (fun,time){
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);
}
}
document.body.insertBefore_=document.body.insertBefore;
var myinsertBefore=function (ele,box){
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!")
// Your code here...
})();