Userscript for browsers that automatically sets the Twitch directory sort option to “Viewers (High to Low)”.
Works on /directory, /directory/all, and other Twitch pages with the same sort dropdown.
- Forces sorting by Viewers (High to Low) on Twitch directory pages.
- Works across SPA navigations (React router) and on initial load.
- Works with all languages.
- Two configurable run policies:
- perTab — applies once per URL within the current tab. If you manually change the sort option, the script won’t override it again (even after F5).
- perLoad — applies once per URL on each page load. Refreshing with F5 will re-apply the sort.
- Install Tampermonkey (or another userscript manager).
- Install the script from one of the mirrors:
Open the script in your userscript manager and change the value of:
const RUN_POLICY = 'perTab';perTab — recommended for users who want to change sorting manually without interference.
perLoad — recommended for users who always want sorting reset on refresh.

