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