Skip to content

Commit a57a43d

Browse files
committed
kill baijia
1 parent b2fbd81 commit a57a43d

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

Kill Baidu AD/Kill Baidu AD.user.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// @name:en Kill Baidu AD
44
// @name:zh-TW 百度廣告(首尾推廣及右側廣告)清理
55
// @namespace hoothin
6-
// @version 0.89
6+
// @version 0.91
77
// @description 彻底清理百度搜索(www.baidu.com)结果首尾的推广广告、二次顽固广告与右侧广告,并防止反复
88
// @description:en Just Kill Baidu AD
99
// @description:zh-TW 徹底清理百度搜索(www.baidu.com)結果首尾的推廣廣告、二次頑固廣告與右側廣告,並防止反復
@@ -61,6 +61,11 @@
6161
item.remove();
6262
}
6363
});
64+
[].forEach.call(item.querySelectorAll("a>span>img"),function(img){
65+
if(img && (img.classList.contains("source-icon"))){
66+
item.remove();
67+
}
68+
});
6469
}
6570
}
6671

0 commit comments

Comments
 (0)