We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ac6147 commit c5fdce9Copy full SHA for c5fdce9
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.85
+// @version 0.86
6
// @description Just Kill Baidu AD
7
// @description:zh-CN 彻底清理百度搜索(www.baidu.com)结果首尾的推广广告、二次顽固广告与右侧广告,并防止反复
8
// @author hoothin
@@ -29,7 +29,11 @@
29
'childList': true,
30
'subtree': true
31
};
32
- observer.observe(document.body, option);
+ document.onreadystatechange = function(){
33
+ if(document.readyState == "interactive"){
34
+ observer.observe(document.body, option);
35
+ }
36
+ };
37
38
function clearAD(){
39
var mAds=document.querySelectorAll(".ec_wise_ad,.ec_youxuan_card"),i;
0 commit comments