ChenZihan-sudo / Remove-Baidu-HotSearch-AD-Recommend

移除百度广告、热搜和推荐(避免视觉干扰)
MIT License
5 stars 1 forks source link

在"jingyan.baidu.com"中移除广告 #1

Open quailchuan opened 3 years ago

quailchuan commented 3 years ago

13:// @match https://jingyan.baidu.com/*

474: else if(name == "jingyan.baidu.com"){ removeWays("#main-content > div.main-content-bottom >#bottom-ads-container"); removeWays("#main-content > div.main-content-bottom >#bottom-pic-ads-wrap");

    }
gbolin commented 3 years ago

hello,提交一个issue,油猴添加后,在百度输入关键字,点击搜索,这时广告依旧存在,只有执行一次“刷新”,广告才可以被屏蔽。 谷歌浏览器。 脚本最新。

ChenZihan-sudo commented 2 years ago

抱歉哈,不怎么用Github的issue,现在才看见

ChenZihan-sudo commented 2 years ago

13:// @match https://jingyan.baidu.com/*

474: else if(name == "jingyan.baidu.com"){ removeWays("#main-content > div.main-content-bottom >#bottom-ads-container"); removeWays("#main-content > div.main-content-bottom >#bottom-pic-ads-wrap");

    }

好嘞这个我稍后会加上去的

ChenZihan-sudo commented 2 years ago

hello,提交一个issue,油猴添加后,在百度输入关键字,点击搜索,这时广告依旧存在,只有执行一次“刷新”,广告才可以被屏蔽。 谷歌浏览器。 脚本最新。

我还是重构吧,这是我第一个写的脚本,有些粗糙,到时候重构好了会在greasyfork上更新的撒