Created
January 7, 2021 15:39
-
-
Save se79419ed/03e0716b6868dc3c9ac6b128965c4733 to your computer and use it in GitHub Desktop.
bookmarklet to remove hardsell overlay from glassdoor.com
This file contains hidden or 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:(function(){ | |
document.getElementsByClassName('hardsellOverlay')[0].remove(); | |
document.getElementsByTagName("body")[0].style.overflow = "scroll"; | |
let style = document.createElement('style'); | |
style.innerHTML = ` | |
#LoginModal { | |
display: none!important; | |
} | |
`; | |
document.head.appendChild(style); | |
window.addEventListener("scroll", function (event) { | |
event.stopPropagation(); | |
}, true); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A new updated script that combines the above solutions.