Last active
March 19, 2024 17:19
-
-
Save Shariar-Hasan/549efd6fd667b7496bdcebecc7d92aff to your computer and use it in GitHub Desktop.
A Script for remove the block wall of glassdoor protection wall and for full scroll functionality
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
/* | |
👉👉👉👉Usage: | |
👉 open inpect tool (ctrl + shift + i or right click + inspect) | |
👉 click on "console" tab | |
👉 then paste the whole code there. | |
👉 BOOM you got your glassdoor full scrollable | |
👉 hit a Star⭐ if you get some help by this 🥹🥳 | |
👉 Created by : 💥Shariar Hasan - https://github.com/Shariar-Hasan | |
*/ | |
// variables | |
const ContentWallHardsell = document.querySelector("#ContentWallHardsell"); | |
const BodyElement = document.querySelector("body"); ; | |
const HardsellOverlay = document.querySelector("#HardsellOverlay"); | |
// actions to remove the top blocker layer | |
ContentWallHardsell?.remove(); | |
HardsellOverlay?.remove(); | |
// active body class for overflow scroling | |
if (BodyElement !== null && BodyElement !== undefined) { | |
BodyElement.style.overflow = "scroll"; | |
} | |
// remove the scooll event litener | |
window.onscroll = function() { | |
return false | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment