您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
将百度右侧的结果屏蔽掉。
当前为
// ==UserScript== // @name fuck百度搜索右侧推广 // @namespace http://kongpingfan.com/ // @version 0.1.1 // @description 将百度右侧的结果屏蔽掉。 // @author pyufftj // @match *://*.baidu.com/* // @grant none // ==/UserScript== (function() { 'use strict'; if (location.hostname=="www.baidu.com"){ var auto = setInterval(function() { if (document.getElementById('content_right')){ document.getElementById('content_right').style.display="none"; } if(document.getElementById('rrecom-container')){ document.getElementById('rrecom-container').style.display="none"; } if(document.getElementsByClassName("opr-recommends-merge-content")[0]){ document.getElementsByClassName("opr-recommends-merge-content")[0].style.display="none"; clearInterval(auto); } }, 50); } })();