Moves the YouTube video to the top of the website and fill the window with the video player.
< 腳本Resize YT To Window Size的回應
I checked the issue out.
The solution is to limit the script and only have it run on YouTube video pages.
For example:
@match *://www.youtube.com/watch?v=*
That will not work with Youtube @Arari since Youtube uses ajax based page loading after the first page is loaded. So a script with that rule would not load on the homepage, nor would it be loaded when a user clicks on a video link.
Your script doesn't work because of this rule: body.ytwp-window-player { margin-top: 100vh; }
which moves the button down and out of view in the iframe. This is something I have to fix since apparently my script is running in iframes of other domains when the top level matches. Bleh.
Fixed in v84
@Zren @Arari
Yeeeeeeeeeeees they work!!!
Thaaaank you both for your great job,I really really love your scripts
@Zren - awesome to see that you fixed the issue.
You're right about that indeed, but you can catch those updates with JS (although the include method is much easier).
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址
Compatible with "Simple YouTube MP3 Button" ?
When I click the Download MP3 button just collapse and nothing happens
Simple YouTube MP3 Button->https://gf.qytechs.cn/scripts/20015