From 9dbef3e603ecf5ee5aff1378e77497378f395489 Mon Sep 17 00:00:00 2001 From: 502647092 Date: Tue, 8 Jan 2019 14:33:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20'baidu/clearAd.user.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- baidu/clearAd.user.js | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 baidu/clearAd.user.js diff --git a/baidu/clearAd.user.js b/baidu/clearAd.user.js new file mode 100644 index 0000000..b60119b --- /dev/null +++ b/baidu/clearAd.user.js @@ -0,0 +1,22 @@ +// ==UserScript== +// @name 百度广告去除 +// @namespace http://ide.yumc.pw/ +// @version 0.0.1 +// @description 去除百度上下推广广告 +// @author MiaoWoo +// @include http*://*.baidu.* +// @grant none +// @namespace yumc +// ==/UserScript== + +(function() { + 'use strict'; + var content = document.getElementById('content_left') + var result = content.childNodes; + for (var i = 0; i