1
0
Fork 0

更新 'baidu/clearAd.user.js'

master
502647092 2019-01-08 15:29:03 +08:00
parent de0393ecca
commit 6da550d7ee
1 changed files with 2 additions and 2 deletions

View File

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