您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
enter something useful
当前为
// ==UserScript== // @name 百度去搜索推广 // @namespace http://your.homepage/ // @version 0.3 // @description enter something useful // @author You // @match http://*/* // @include *baidu.com/* // @grant none // ==/UserScript== (function() { function $(id) { return document.getElementById(id); }; function addEvent(obj, event, fn) { return obj.addEventListener ? obj.addEventListener(event, fn, false) : obj.attachEventListener('on' + event, fn); }; function remove(){ adlist = $('content_left').children; for (var i=0;i<adlist.length;i++) { if(adlist[i].getAttribute("id")>1000){ adlist[i].style.cssText="display: none !important;" }; if(adlist[i].getAttribute("id")==null){ adlist[i].style.cssText="display: none !important;" }; }; console.log("广告已去除") }; function clearTime(){ var timer=setInterval(function(){ remove(); setTimeout(function(){ clearInterval(timer); },3000) },20); }; remove(); addEvent($("su"),'click',function(){ clearTime(); }) addEvent($("kw"),'keyup',function(){ clearTime(); }) })()
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址