Select a youtube resolution and resize the player.
Adding @run-at document-start
might cause the script to run too early and not be able to find the video, when loading Youtube (but it might only affect the old layout). It should make no difference at all when clicking on different videos on Youtube, as that uses a push state instead of loading an entirely new page.
I haven't noticed the script stopping working when changing videos, but it might be because of some other scripts I have running, and if that does happen I definitely want to fix it. I'll try to see if I can trigger this behavior, but if I can't it would help me if you could give me some steps to reproduce it 100% of the time.
Excellent thread! Thank you!
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址
Hello adisib.
It is safe to use your script with option // @run-at document-start ??? Without it after couple suggested videos change, script stop working. :(