remove ads

clear site ui

当前为 2022-12-07 提交的版本,查看 最新版本

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

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

;(function (withjQuery) {
    "use strict"

    withjQuery(function ($, window) {
        $(document).ready(function () {
            //sis001
            if (window.location.href.indexOf("sis001") > -1) {
                $("#ad_headerbanner").remove()
                $(".ad_text").remove()
                $(".portalbox").remove()
                $("#header").remove()

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

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