23txt小说网去广告

// ==UserScript==
// @name 23txt
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author zp

// @include *://www.23txt.com/files/*
// @grant none
// ==/UserScript==

(function() {

'use strict';

console.log("start")
$(document).ready(function(){

setTimeout(function(){
$("video").css("display","none");

//$("#cs_DIV_cscpvrich5462B").remove();
$("").css("display","none");
$("#cscpvrich5462_ab").css("display","none");
console.log("关闭广告1");
$(".con_ad").css("display","none");
console.log("关闭广告2");
$(".con_ad").prev("div").css("display","none");
console.log("关闭shaoma");

$("#cs_DIV_cscpvrich5462B").remove();
$("body").css("background-color","#000000");
// $("body").css("color","#f40");
$("body").css("font-weight","bolder");


},3000)

})

// Your code here...
})();

原文地址:https://www.cnblogs.com/dabaixiong/p/14347452.html