Created
August 6, 2023 04:09
-
-
Save TrevTV/716f7c01c3777b4caeae21dca23cb1b1 to your computer and use it in GitHub Desktop.
JavaScript bookmark that toggles the YouTube playback bar
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
javascript:(()=>{var bottomElement=document.getElementsByClassName("ytp-chrome-bottom")[0];var currentStyle=bottomElement.getAttribute("style");if(currentStyle.includes("display: none;")){bottomElement.setAttribute("style",currentStyle.replace("display: none;","display: block;"))}else{bottomElement.setAttribute("style",currentStyle+"display: none;")}})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment