I found a command line to make a bookmarklet that hides the progress/controls bar on a YouTube video, so now I can pause the video and see the full image and take screenshots. Now I'm wondering how can I do the inverse, make a bookmarklet to reverse this command and unhide the progress/controls bar. I tried to figure it out myself but my knowledge in code and javascript is practically null.
Does anybody know what javascript string would work? The original command is:
javascript:(function(){var goaway=".ytp-gradient-bottom,.ytp-gradient-top,.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}})();