AV_AD_Block

missav

目前为 2022-10-18 提交的版本。查看 最新版本

// ==UserScript==
// @name         AV_AD_Block
// @description  missav
// @icon         https://static.missav.com/img/favicon.png
// @namespace    loadingi.local
// @version      0.1
// @author       ch
// @match        *://*missav.com/*
// @grant        GM_setValue
// @grant        GM_getValue
// @grant        GM_xmlhttpRequest
// @license      GPL-3.0-only
// ==/UserScript==

(function() {
    'use strict';
////missav.com
  //Block OnceClick PopUp
    var elem0 = document.querySelector("div.flex-1.order-first").children[0]
    elem0.removeAttribute('x-init')
    elem0.removeAttribute('x-data')
    var elem = document.querySelector("div.relative.-mx-4.-mt-6.sm\\:m-0").children[0]
    elem.removeAttribute(elem.attributes[0].name)
    elem.removeAttribute('@click.once')
  //Block GIF AD
    document.querySelector('div.space-y-5.mb-5').remove()
    document.querySelector('div.under_player').remove()
  //Block Video AD
    document.querySelector("button[class^=close-button]").parentElement.remove()
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址