Anti-anti adblock xvideos.com

2/24/2024, 6:18:51 PM

질문, 리뷰하거나, 이 스크립트를 신고하세요.
// ==UserScript==
// @name        Anti-anti adblock xvideos.com
// @namespace   Violentmonkey Scripts
// @match       https://www.xvideos.com/*
// @grant       none
// @license     gpl3 
// @version     1.0
// @author      -
// @description 2/24/2024, 6:18:51 PM
// ==/UserScript==

function xvideosBlankPageRemoval(f){
        if(document.readyState == "complete"){f();}
        else{document.addEventListener('readystatechange',function(){setTimeout(f,500);});}
}

xvideosBlankPageRemoval(function(){
        if(document.readyState == "complete"){
          var body = document.body;
          body.classList.remove("exo-ad-ins-container");
        }
        else{document.addEventListener('readystatechange',function(){setTimeout(f(),500);});}
});