Sleazy Fork is available in English.

Javbus

去广告,快速加载

Tính đến 13-02-2019. Xem phiên bản mới nhất.

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

(function() {
    'use strict';
      //window.onload = function(){
         var class1 = document.getElementsByClassName("ad-table");
         var class2 = document.getElementsByClassName("row");
         var reg = /\bgenre\b/i;


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

            }
if(!reg.test(location.href))
{
    while(class2[3].hasChildNodes() )
            {class2[3].removeChild(class2[3].firstChild);

            }
}




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