You are not logged in.
Remove the title, the gradients & the centered play & pause icons from the YouTube player.
Even paused, hide the pointer after 1/2 second & the controls panel if not pointed.
!.js
// ==UserScript==
// @include https://www.youtube.com/watch?v=*
// ==/UserScript==
document.getElementsByClassName("ytp-gradient-top")[0].remove()
document.getElementsByClassName("ytp-chrome-top")[0].remove()
document.getElementsByClassName("ytp-gradient-bottom")[0].remove()
a=document.getElementsByTagName("video")[0]
a.addEventListener("pause",()=>document.getElementsByClassName("ytp-bezel-text-hide")[0].remove(),{once:true})
b=document.body.style
let $
a.onmousemove=()=>{b.cursor=""
clearTimeout($)
$=setTimeout(()=>b.cursor="none",500)}
a.onmouseleave=()=>setTimeout(()=>b.cursor="",500)
c=document.getElementsByClassName("ytp-chrome-bottom")[0]
d=c.style
c.onmouseenter=()=>d.opacity=1
c.onmouseleave=()=>d.opacity=0
Falkon, Preferences, Extensions, check GreaseMonkey, Settings, Open scripts directory, put in !.js, OK, OK, restart Falkon.
Yes there's openuserjs.org but at the time I write the website seems down, I can't sign up:
429
Too many requests.
Please retry after approximately 86460 seconds.
perfect YouTube player Chrome extension:
https://chromewebstore.google.com/detai … khkngofcdh
Last edited by jebez (2025-08-17 10:48:52)
Arch Linux KDE, my config https://bbs.archlinux.org/viewtopic.php … 5#p2221235
Offline