From 6da550d7eec86d774dfd5f108ce1bedbb051658e Mon Sep 17 00:00:00 2001 From: 502647092 Date: Tue, 8 Jan 2019 15:29:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'baidu/clearAd.user.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- baidu/clearAd.user.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/baidu/clearAd.user.js b/baidu/clearAd.user.js index cbf6cab..aa701ae 100644 --- a/baidu/clearAd.user.js +++ b/baidu/clearAd.user.js @@ -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){