Javbus去广告

去广告,快速加载

Stan na 08-02-2019. Zobacz najnowsza wersja.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

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

(function() {
    'use strict';
      //window.onload = function(){
          var class1 = document.getElementsByClassName("ad-table");

			while(class1[0].hasChildNodes() ||class1[1].hasChildNodes())
            {class1[0].removeChild(class1[0].firstChild);
             class1[1].removeChild(class1[1].firstChild);
            }

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