您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
Hide videos matching thresholds, in home page, and watch page's sidebar. CONFIGURABLE!
Hide videos matching configured thresholds, in home page, and watch page's sidebar.
Configurable thresholds
General threshold defaults to 999
.
Optional separate thresholds for "New" and "Live" videos.
"New" videos are determined by whether YouTube assigns them with "New" badge (EN locale only).
"Live" videos depend on accumulative views counts reported by YouTube API, not their current viewers count.
When not set, will fall back to general threshold.
Allow videos by certain channels using their IDs
How to get a channel's ID?
General threshold should work with any locales
Feel free to report otherwise.
Optionally enable on other pages
Some knowledge of CSS selectors are required.
Then use SELECTORS_ALLOWED_PAGE
option.
Configurable via your userscript manager's storage/values editor.
For Tampermonkey users, please consult this guide to access the storage editor, https://stackoverflow.com/a/56918709/10044786.
Screenshots above are only excerpts. Please check the source code for the most up-to-date configurable variables.
Broken selectors will be properly logged in the browser console.
So please manually check yours if the script suddenly breaks after you add custom selectors.
SetMODE
variable to"DEBUG"
if necessary.