Removes the anti adblocker screen on Lootlabs.com
当前为
// ==UserScript==
// @name Remove lootlabs anti adblocker screen
// @namespace http://tampermonkey.net/
// @version 1.0
// @description Removes the anti adblocker screen on Lootlabs.com
// @author Iplayminecraft
// @match *://*lootlabs.com/*
// @grant none
// @license MIT
// ==/UserScript==
(function() {
'use strict';
function removeOverlay() {
document.querySelectorAll('*').forEach(el => {
const style = window.getComputedStyle(el);
if (
style.position === 'fixed' &&
style.inset === '0px' &&
style.boxShadow === 'rgb(0, 0, 0) 2px 0px 5px 0px' &&
style.display === 'flex' &&
style.zIndex === '2147483647' &&
style.justifyContent === 'center' &&
style.alignItems === 'center' &&
style.background === 'rgba(76, 76, 76, 0.76)'
) {
el.remove();
}
});
}
// Run the function initially and also on DOM changes
removeOverlay();
new MutationObserver(removeOverlay).observe(document.body, { childList: true, subtree: true });
})();