Skip to content

Instantly share code, notes, and snippets.

@vlad-bezden
Last active September 12, 2021 11:34
Show Gist options
  • Save vlad-bezden/25316b522bf01ed9fa7bcf5d3f1d8c68 to your computer and use it in GitHub Desktop.
Save vlad-bezden/25316b522bf01ed9fa7bcf5d3f1d8c68 to your computer and use it in GitHub Desktop.
Remove navigation bar and status bar snippet from RealPython web page for better readability
// remove top navigation bar
document.querySelectorAll(".navbar").forEach(el => el.remove())
// remove status bar (bottom bar)
document.querySelectorAll(".drip-tab-container").forEach(el => el.remove())
// remove sign-in red bell
document.querySelectorAll(".onesignal-bell-container").forEach(el => el.remove())
// remove column on the right (ads)
document.querySelectorAll(".col-md-7, .col-lg-4").forEach(el => el.remove())
// remove chat button on the right-bottom corner
//document.getElementById("beacon-container-body").remove()
document.querySelectorAll(".BeaconFabButtonFrame").forEach(el => el.remove())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment