Skip to content

Instantly share code, notes, and snippets.

@alexcmgit
Created September 24, 2022 09:56
Show Gist options
  • Save alexcmgit/98e87c4d15a5e3ef0d86bfa056f6a3df to your computer and use it in GitHub Desktop.
Save alexcmgit/98e87c4d15a5e3ef0d86bfa056f6a3df to your computer and use it in GitHub Desktop.
Tampermonkey Script to bypass anti-adblocker of https://xdarom.com
// ==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