Last active
September 12, 2021 11:34
-
-
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
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
// 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