Advertisement
XenoTheStrange

Youtube, Toggle Video Player UI Bookmarklet

Jul 1st, 2022 (edited)
958
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JavaScript 0.43 KB | None
  1. javascript:(function(){childs = document.querySelector("#movie_player").children;for%20(i=1;%20i<childs.length;%20i++){if%20(childs[i].style.visibility%20==%20"hidden"){childs[i].style.visibility%20=%20""}else%20{childs[i].style.visibility%20=%20"hidden"}}})()
  2.  
  3. //the scroll bar can be hidden normally using body.style.overflow="hidden" but in full screen the scroll bar persists and idk what to do. It goes away after a moment anyhow.
Advertisement
RAW Paste Data Copied
Advertisement