We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 077cade commit 6ff4254Copy full SHA for 6ff4254
1 file changed
Kill Baidu AD/Kill Baidu AD.user.js
@@ -2,7 +2,7 @@
2
// @name Kill Baidu AD
3
// @name:zh-CN 百度广告(首尾推广及右侧广告)清理
4
// @namespace hoothin
5
-// @version 0.81
+// @version 0.82
6
// @description Just Kill Baidu AD
7
// @description:zh-CN 彻底清理百度搜索(www.baidu.com)结果首尾的推广广告、二次顽固广告与右侧广告,并防止反复
8
// @author hoothin
@@ -48,12 +48,10 @@
48
if(span && span.innerHTML=="广告"){
49
item.remove();
50
}
51
- [].every.call(item.querySelectorAll("a>span"),function(span){
+ [].forEach.call(item.querySelectorAll("a>span"),function(span){
52
if(span && (span.innerHTML=="广告" || span.getAttribute("data-tuiguang"))){
53
54
- return false;
55
56
- return true;
57
});
58
59
0 commit comments