Auto-set sort to "opt1" (Viewers High->Low) with configurable run policy
当前为
This userscript automatically switches the Twitch directory sort option to “Viewers (High to Low)” on pages like /directory, /directory/all, and similar. It hooks into the built-in sort dropdown via aria-activedescendant, so it does not depend on the interface language.
Supported run policies:
- perTab — applies once per URL within the current browser tab. If you manually change the sort option, the script will not override it again (even after F5).
- perLoad — applies once per URL on every page load. Refreshing with F5 will re-apply the sort automatically.
You can change the mode in the script header (RUN_POLICY variable).