Javbus

去广告,快速加载

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

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.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==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...
})();