Resize YT To Window Size

Moves the YouTube video to the top of the website and fill the window with the video player.

< 脚本 Resize YT To Window Size 的反馈

评价:好评 - 脚本运行良好

§
发布于:2016-07-06

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

§
发布于:2016-07-07

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=*

Zren作者
§
发布于:2016-07-07

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.

Zren作者
§
发布于:2016-07-07

Fixed in v84

§
发布于:2016-07-08
编辑于:2016-07-08

@Zren @Arari
Yeeeeeeeeeeees they work!!!
Thaaaank you both for your great job,I really really love your scripts

§
发布于:2016-07-08

@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或关注我们的公众号极客氢云获取最新地址