// ==UserScript== // @name CSDN去广告 // @namespace http://tampermonkey.net/ // @version 1.0 // @description try to take over the world! // @author nanfang // @match *://blog.csdn.net/*/article/details/* // @match *://*.blog.csdn.net/article/details/* // @match *://bbs.csdn.net/topics/* // @match *://*.iteye.com/blog/* // @grant none // @icon https://csdnimg.cn/public/favicon.ico // @run-at document-end // @downloadURL none // ==/UserScript== (function() { 'use strict'; // Your code here... var myRemove=function(element){ if(element){ element.remove(); } } var removeClassList=function(name){ var list=document.getElementsByClassName(name); var length=list.length; for(let i=0;i