AV_AD_Block

missav

Pada tanggal 18 Oktober 2022. Lihat %(latest_version_link).

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==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()
})();