更新 'baidu/clearAd.user.js'

This commit is contained in:
502647092 2019-01-08 15:29:03 +08:00
parent de0393ecca
commit 6da550d7ee

View File

@ -1,7 +1,7 @@
// ==UserScript==
// @name 百度广告去除
// @namespace http://ide.yumc.pw/
// @version 0.0.6
// @version 0.0.7
// @description 去除百度上下推广广告
// @author MiaoWoo
// @include http*://*.baidu.*
@ -42,7 +42,7 @@ margin-bottom:30px;
}
}
function clear() {
tempCount = 0
var tempCount = 0
selectors.forEach(function(selector) {
var doms = document.querySelectorAll(selector);
if(doms.length){