Auto-set sort to "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.
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).