Twitch - Force sort Viewers High to Low

Auto-set sort to "Viewers High->Low" with configurable run policy

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
Vikindor
今日安裝
0
安裝總數
1
評價
0 0 0
版本
1.7
建立日期
2025-09-16
更新日期
2025-10-15
尺寸
5.7 KB
授權條款
MIT
腳本執行於

Twitch - Force sort Viewers High to Low

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.

✨ Features

  • 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.

🖼 Screenshots

Browse page sorting screenshot Channels page sorting screenshot

🔧 Configuration

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.