let tags = ['TITLE', 'META', 'SCRIPT', 'HEAD', 'LINK', 'STYLE']
document.querySelectorAll('*').forEach(function(node) {
if (!tags.includes(node.tagName)) {
if (window.getComputedStyle(node).display === 'none' || window.getComputedStyle(node).visibility === 'hidden') {
console.log(node)
node.style.display = 'block';
node.style.visibility = 'visible';
node.style.border = '3px solid red';
node.style.position = 'fixed';
node.style.left = '0';
node.style.top = '0';
node.style.zIndex = '99999';
}
}
});
Last active
April 3, 2024 15:55
-
-
Save artemsites/7c905368eec418c51ea98356e6af76d8 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment