Javbus

去广告,快速加载

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         Javbus
// @namespace    hlw
// @version      0.4
// @description  去广告,快速加载
// @author       Linker
// @match       *://www.javbus.com/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
      //window.onload = function(){
         var class1 = document.getElementsByClassName("ad-box");
         var class2 = document.getElementsByClassName("col-xs-12 col-md-4 text-center ptb10");

         var reg = /\bgenre\b/i;
        let len =  class1.length
        let len2 = class2.length
        for(let i = 0;i < len;i++)
        {
            class1[0].remove()
        }
        for(let i = 0;i <len2;i++)
        {
            class2[0].remove()
            console.log(class2)
        }
		




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