[feat] 如何用網址規則阻止頁面套用全域播放速度?
例如我想讓任何新開啟的 YouTube 分頁皆不套用全域播放速度。
嘗試過以下設定方式:
- 新增一規則把
https://www.youtube.com開頭的網址設定速度為 1.0:不符要求,我要的是讓影片預設以 YouTube 使用者最後設定的播放速度播放(例如最後一個影片用 1.25x,則新開的影片就是 1.25x) - 新增一規則把
https://www.youtube.com開頭的網址設定為關閉:可以達成「影片預設以 YouTube 使用者最後設定的播放速度播放」的要求,但是操作時得重新點套件按鈕開啟套件,而且一開啟後播放速度還是套用了全域播放速度。
要怎麼設定才能達成以上需求?
Hello! That functionality isn't supported at the moment.
So this is a feature request. Are you gong to implement it?
So the feature you need is site-specific settings. If you change speed on Youtube, it applies only on Youtube.
I have considered implementing that, but there are concerns. Currently Global Speed is either global or tab based. Tab based and website based don't work well together so I'll probably have to scrap tab based settings. I prefer that, but it's big change. Not sure I have the time right now.
So the feature you need is site-specific settings. If you change speed on Youtube, it applies only on Youtube.
Actually I want a feature of not applying speed (YouTube already has the feature to remember the last playback rate), which can technically be represented as a null speed value and be set through something like:
- The popup: setting an empty speed value.
- The
Initial stateofPin by default: add anull contextoption. - The URL rule: by setting the
Speedwith an empty value.
To avoid complications, Global Speed is designed to be the only source of truth. To change speed, the user should be encouraged to change speed solely though Global Speed's own controls and only the speed set through Global Speed is taken into account. This is rigid and inflexible. But, this design constraint has a lot of benefits.
Would site-specific settings help with your issue? So here's what I'm thinking. By default, all websites will global. You set speed to 2x, all websites will now be 2x. But, the user will be able to pin a website. Say you pin youtube.com, now Youtube will be independent and will no longer listen to the global context. You can set Youtube to 1.5x and it will always be 1.5x until you change it while on Youtube. Will this work for your use case?
Yes the feature to pin a website is welcome, but I wonder it would be much more complicated to implement.
Currently my approach is to set up a URL condition that sets the speed to 1.0x and applies to all URLs except for YouTube (any maybe some other specific sites). So that only these sites use the last set global rate as "preferred rate" while other sites use 1.0x by default.
The problem is that "setting to 1.0x" is still not identical to "not applying speed".