Created
June 26, 2019 09:42
-
-
Save rux/26b2e3f76e3e6e74f273f0675f344af4 to your computer and use it in GitHub Desktop.
Firefox bookmark to remove evil fixed overlays for permissions or newsletter signups
This file contains 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
javascript:void([].forEach.call(document.querySelectorAll('body%20*'),e=>/fixed|sticky/.test(getComputedStyle(e).position)&&e.parentNode.removeChild(e))); void(document.getElementsByTagName('html')[0].style.overflow='auto'); void(document.getElementsByTagName('body')[0].style.overflow='auto') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment