JavBus removing the bgImg on detail pages

it will remove the bgImg on the detail pages on javBus!

Version au 16/12/2020. Voir la dernière version.

// ==UserScript==
// @name         JavBus removing the bgImg on detail pages
// @namespace    http://tampermonkey.net/
// @version      0.2
// @description  it will remove the bgImg on the detail pages on javBus!
// @author       You
// @match        https://www.javbus.com/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    var removeFirstTagViaClassName = function(className){

        var els = document.getElementsByClassName(className);
        if (els.length>0){

            var el = els[0];
            if (el){
                el.parentNode.removeChild(el);
            }
        }
    };removeFirstTagViaClassName("bigImage");
})();