Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
A bookmarklet that removes these nasty overlays from websites that would work perfectly fine without a login, but still want you to create one.
javascript:Array.forEach(document.body.querySelectorAll("*"), e => { var s = getComputedStyle(e); if (s.position !== 'static' && s.position !== 'relative') { var r = e.getBoundingClientRect(); if (r.x <= 0 && r.y <= 0 && r.width >= window.innerWidth && r.height >= window.innerHeight) { e.remove(); } } }); document.body.style.overflow="auto";void(0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.