您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
去除百度首页广告
当前为
// ==UserScript== // @name 百度首页大扫除 // @namespace http://tampermonkey.net/ // @version 0.1 // @icon https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1597932552461&di=a312e872812540cc7b9d6bf1c1753826&imgtype=0&src=http%3A%2F%2Fpic2.zhimg.com%2Fv2-60390e4a48d89c91c7cb41100f6db4e0_xl.jpg // @description 去除百度首页广告 // @author 暮云叆叇 // @match *://www.baidu.com/* // @grant none // ==/UserScript== (function() { 'use strict'; if(location.href.indexOf('www.baidu.com') > 0){ $("li.hotsearch-item.even").remove();//百度热榜 $("li.hotsearch-item.odd").remove(); $(".s-hotsearch-title").remove(); $("#s_side_wrapper").remove();//二维码 $(".s-top-left.s-isindex-wrap").remove();//上面的 $(".s-top-right.s-isindex-wrap").remove(); $(".s-bottom-layer.s-isindex-wrap").remove();//下面的 } })();