Greasy Fork is available in English.
自动切换到你预先设定的画質。会优先使用Premium比特率。
Bug report confirmed. Likely I have broken something in one of the recent updates. I should have a fix in roughly 1 week. iOS is meant to be supported.
That is such a relief to hear, made me wonder if it was server side that was breaking the script, iphone 8 ,X series are perfectly capable of streaming in 1080HD. In fact using mobile version in safari is light on cpu resource, easy on battery.
Thanks again for the bug report, the bug has been fixed in the new (v2025.10.17) version.
It does reach 1080 HD but I am not sure how it is suppose to work, I tried selecting 1080 from pin icon like sub menu from setting icon gear, it slowly does transition from 720p to 1080p, more sort of in adaptive way, not promptly. I also did edit the script, default custom resolution to 1080p, still same effect. If it is an expected result I am fine with it, with some buffering I get 1080p after some time.
That does not sound correct. However, this script does not include any sort of delay/transition effect during resolution updates. My guess would be that it has something to do with your device in particular as I am unable to replicated this on an, albeit newer, iOS device with Safari and the "Userscripts" extension. So as long as the resolution indeed does change then this script should have everything working as intended. If you can find out more about why this "adaptive" effective is happening, or describe the issue in more detail, I could try to see if I can do something about it.
If I have to do a rough guess, it pretty much has to do to with browser's user agent or something that binds device model name, mine is iPhoneX but your's may be a lot newer albeit being in iOS 16, as youtube is phasing out support for older device this was to be expected. I know there is one app that is able to do instant resolution switch so I assume it is still possible and there is paid extension called "vinegar" which does same. But at speed at which youtube is changing things it feels like a race. I am just glad you took your time to look into it.
I actually thought the same initially and tried to run tests with a spoofed user agent. Unfortunately, even then, I was unable to replicate the issue you described. But without more information, it would be impossible for me to pinpoint the cause of the issue, regardless if it's cause by the script, the extension, the browser, YouTube itself, or your hardware. I think it may be wiser to just say that this script has this weird issue in your edge case for the time being.
Yes, I think we can agree being some quirk on my side. Specially how youtube goes great length to monitor bot/spam use case. If certain condition are not met, like active cookies, unusual rate of data request, then there is IP monitor check. It will be hard to test with this so much variable. And if that was not the end there is youtube's A/B testing. So it's pretty impressive feat that your script has good result for most user.
I can install this script using "Userscripts" extension in iOS 16 safari, i know it's a bit dated iOS version but still lot of older iPhones still run it. It would be nice if this script bring support for it. It seems this script is able to show quality select with pin like option but it does nothing, well youtube does it's own thing, it still reaches 1080p sometimes with SABR format, but it is on "Auto" with no quality selection option.