Greasy Fork is available in English.

Youtube HD

Select a youtube resolution and resize the player.

< Σχολιασμός για τον κώδικα Youtube HD

Αναφορά: Καλός - ο κώδικας λειτουργεί

§
Δημοσιεύτηκε: 04/09/2020

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

adisibΔημιουργός
§
Δημοσιεύτηκε: 05/09/2020

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.

§
Δημοσιεύτηκε: 05/09/2020

Excellent thread! Thank you!

§
Δημοσιεύτηκε: 14/01/2021
Επεξεργάστηκε: 14/01/2021

Δημοσίευση απάντησης

Συνδεθείτε για να δημοσιεύσετε μια απάντηση.