DEV Community

Cover image for Unlocking Glassdoor Full Scroll: A Quick Console Trick
Shariar Hasan
Shariar Hasan

Posted on

Unlocking Glassdoor Full Scroll: A Quick Console Trick

Assalamu Alaikum, Hello ๐Ÿ‘‹, developers!
If you've ever found yourself frustrated by the limited scrolling on Glassdoor's website, you're in for a treat. In this short guide, I'll walk you through a simple console trick that unlocks full scroll functionality, allowing you to navigate Glassdoor with ease.

How toย Use

  • Open Developer Tools: Press Ctrl + Shift + I (Windows/Linux) or Cmd + Opt + I (Mac) to open the browser's Developer Toolsย .
  • Navigate to Console Tab: Click on the "Console" tab within the Developer Tools.
  • Paste the Code: Copy the entire code snippet below and paste it into the console.
const ContentWallHardsell = document.querySelector("#ContentWallHardsell");
const BodyElement = document.querySelector("body"); ;
const HardsellOverlay = document.querySelector("#HardsellOverlay");

ContentWallHardsell?.remove();
HardsellOverlay?.remove();

if (BodyElement !== null && BodyElement !== undefined) {
  BodyElement.style.overflow = "scroll";
}

window.onscroll = function() {
    return false
}
Enter fullscreen mode Exit fullscreen mode
  • Hit Enter: Press Enter to execute the code, and BOOOOOOOOOOM!๐Ÿ’ฅ Your Glassdoor page is now fully scrollable.
  • Show Some Love: If you find this trick helpful, don't forget to hit the clap button and Star button on Glass Door Scroll Unlock Script in GitHub Gist.

Conclusion

I hope you understand the procedure of the trick. You can get the code in here also. Don't forget to give a clap, and a star, if you get helped.
Allah Hafez ๐Ÿ‘‹

Top comments (0)