Youtube HD

Select a youtube resolution and resize the player.

< Feedback on Youtube HD

Review: Good - script works

§
Posted: 2020-09-04

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. :(

adisibAuthor
§
Posted: 2020-09-05

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.

§
Posted: 2020-09-05

Excellent thread! Thank you!

§
Posted: 2021-01-14
Edited: 2021-01-14

Post reply

Sign in to post a reply.