Created
August 8, 2019 19:57
-
-
Save g-rohit/97ce6b51ce5a39a1d1d8fe1956d91a2f to your computer and use it in GitHub Desktop.
Remove all control elements from Youtube video
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
// Paste this below code into the console on the youtube: | |
javascript:(function(){var goaway=".ytp-chrome-top,.ytp-chrome-bottom{display:none;}";if("\v"=="v"){document.createStyleSheet().cssText=goaway}else{var tag=document.createElement("style");tag.type="text/css";document.getElementsByTagName("head")[0].appendChild(tag);tag[(typeof document.body.style.WebkitAppearance=="string")?"innerText":"innerHTML"]=goaway}})(); | |
//then you can take a full screen screenshot ;) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment