We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f047e5d commit bf2f356Copy full SHA for bf2f356
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.7
+// @version 0.8
6
// @description Just Kill Baidu AD
7
// @description:zh-CN 彻底清理百度搜索(www.baidu.com)结果首尾的推广广告、二次顽固广告与右侧广告,并防止反复
8
// @author hoothin
@@ -48,6 +48,13 @@
48
if(span && span.innerHTML=="广告"){
49
item.remove();
50
}
51
+ [].every.call(item.querySelectorAll("a>span"),function(span){
52
+ if(span && span.innerHTML=="广告" && span.getAttribute("data-tuiguang")){
53
+ item.remove();
54
+ return false;
55
+ }
56
+ return true;
57
+ });
58
59
60
0 commit comments