Created
September 24, 2022 09:56
-
-
Save alexcmgit/98e87c4d15a5e3ef0d86bfa056f6a3df to your computer and use it in GitHub Desktop.
Tampermonkey Script to bypass anti-adblocker of https://xdarom.com
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Bypass xdarom.com anti-adblocker | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @include https://xdarom.com* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=xdarom.com | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
let inter = null | |
inter = setInterval(function() { | |
const els = document.querySelectorAll('.mdp-deblocker-blackout') | |
for(const e of els) { | |
if (e.classList.contains('mdp-deblocker-blackout')) { | |
e.classList.remove('active') | |
clearInterval(inter) | |
} | |
} | |
}, 100) | |
window.document.head.innerHTML += `<style>* { filter: none !important; }</style>` | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment