Greasy Fork is available in English.
笔趣阁去广告,上方,左右,右下角!
// ==UserScript==
// @name 笔趣阁去广告
// @namespace http://tampermonkey.net/
// @version 1.1.1
// @description 笔趣阁去广告,上方,左右,右下角!
// @author MorningBOBO
// @include *://www.biquwx.la/*
// @include *://www.xbiquwx.la/*
// @include /.*www\.xsbiquge\.com\/\d+_\d+\/\d+\.html/
// @include *://www.ciymao.com/chapter/*/*.html
// @include /.*www.biquge.info\/\d+_\d+\/\d+\.html/
// @include /.*www\.bqg44\.net\/book\/\d+\/\d+\.html/
// @include /.*www\.shubao2s\.net\/\d+_\d+\/\d+\.html/
// @require http://libs.baidu.com/jquery/2.1.4/jquery.min.js
// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant none
// @grant GM_getValue
// @grant GM_setValue
// ==/UserScript==
(function() {
var h1 = $('h1')[0];
var content = $('#content');
var bottem;
var bottems=$('[class^=bottem]');
if(bottems.length==0){
bottem = $('.read_nav')[0];
}else{
bottem=bottems[0];
}
//清除正文中的广告
$("#content > p").remove();
$("[src*='baidu.com']").remove();
setTimeout(function(){
$("#cs_DIV_cscpvrich9192B").remove();
$("#cs_CFdivdlST_B_0").remove();
$("#cs_CFdivdlST_B_1").remove();
console.log("删除了");
},1000);
var boxs = document.getElementsByClassName('box_con');
boxs[0].children[3].remove()
boxs[0].children[9].remove()
$('p')[7].remove();
})();