remove ads

clear site ui

Versione datata 07/12/2022. Vedi la nuova versione l'ultima versione.

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

// ==UserScript==
// @name         remove ads
// @namespace    http://removeads.net/
// @version      0.1.8
// @description  clear site ui
// @author       jim
// @include        *://www.fi11.tv/*
// @include        *://www.eqpp.net/*
// @include        *://www.sis001.com/*
// @include        *://www.theporn.cc/*
// @include        *://av6k.pro/*
// @include        *://footfan.org/*
// @match        *://*/*
// @license MIT
// @run-at document-end
// ==/UserScript==

;(function (withjQuery,remove) {
    "use strict"

    withjQuery(function ($, window) {

        $(document).ready(function () {
            let remove=function (...selectors){
                for(let n=selectors.length-1;n>-1;n-- ){
                    $(selectors[n])
                        .css("border-style","solid").css("border-color","red")
                        .remove()
                }
            } //sis001
            if (window.location.href.indexOf("footfan") > -1) {
                remove('#sticky-banner-4672820',
                       '.da',
                       '.form-group.dvplay > div:eq(1)');

            } else if (window.location.href.indexOf("sis001") > -1) {
                //sis001
                remove("#ad_headerbanner",
                       ".ad_text",
                       ".portalbox",
                       "#header")

            } else if (window.location.href.indexOf("theporn") > -1) {
                //theporn

                $(".q-responsive").parent().parent().parent().remove()
                remove("div.c199d26a",
                       ".float-right.right-player-container.col-2")
                setTimeout(function () {
                    $("#gbcs").trigger("click")
                    $(".close").trigger("click")
                    $(".block").trigger("click")
                    remove("#__ds_dp",
                           "#domain_change_dialog")
                }, 3000)
            }else if (window.location.href.indexOf("av6k") > -1) {
                remove("div.frameC > a",
                       "div.frame > a",
                       "#app",
                       "table.links-top2",
                       ".video-img",
                       ".subLink",
                       ".newVideoC>div>a[target='_blank'],p,font,b,.h_30",
                       ".clickadu",
                       ".footlink",
                       ".clickadu")
                $("#header").css({'padding-top': '0px',
                                  'padding-bottom': '0px'});
                $(".menu").css({'padding-top': '0px',
                                'padding-bottom': '0px'});
            } else if(window.location.href.indexOf('eqpp') > -1){

                remove('#sticky-banner-4672820',
                       '.da',
                       '.form-group.dvplay > div:eq(1)');
            }
        })
    }, true)

    // Put all your code in your document ready area

    // Your code here...
})(function (callback, safe) {
    if (typeof jQuery == "undefined") {
        var script = document.createElement("script")
        script.type = "text/javascript"
        script.src = "https://code.jquery.com/jquery-3.6.1.min.js"
        if (safe) {
            var cb = document.createElement("script")
            cb.type = "text/javascript"
            cb.textContent = "jQuery.noConflict();(" + callback.toString() + ")(jQuery, window);"
            script.addEventListener("load", function () {
                document.head.appendChild(cb)
            })
        } else {
            var dollar = undefined
            if (typeof $ != "undefined") dollar = $
            script.addEventListener("load", function () {
                jQuery.noConflict()
                $ = dollar
                callback(jQuery, window)
            })
        }
        document.head.appendChild(script)
    } else {
        setTimeout(function () {
            //Firefox supports
            callback(jQuery, typeof unsafeWindow === "undefined" ? window : unsafeWindow)
        }, 30)
    }
})