YouTube Video Age and Category Filter

Filters old YouTube videos and hides videos in certain categories with a modern blur overlay.

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
PoKeRGT
日安装量
0
总安装量
204
评分
1 0 0
版本
1.27
创建于
2024-04-20
更新于
2025-09-10
大小
9.0 KB
许可证
MIT
适用于

Homepage

https://github.com/PoKeRGT/userscripts

Violentmonkey userscripts

YouTube Video Age and Category Filter

A powerful userscript that enhances your YouTube browsing experience by automatically hiding old or unwanted videos with a sleek, modern interface.

Instead of just making videos disappear, this script applies a stylish "frosted glass" blur effect over filtered thumbnails, with a clear badge indicating why the video was hidden. It also provides distinct borders to track your watch status at a glance.

Features

  • Modern "Frosted Glass" Overlay: Hides unwanted videos using an elegant blur effect, keeping your feed clean without being jarring.
  • Informative Badges: Each hidden video displays a clear badge in the corner, so you always know why it was filtered.
    • Filtered by age: OLD (365 days)
    • Filtered by category: MUSIC
  • Clear Visual Indicators for Watched Status: Uses colored borders to track video progress:
    • Green Border: New video, not filtered, and completely unwatched.
    • Purple Border: Video is partially watched.
    • Red Border: Video has been fully watched.
  • Clickable Overlays: Hidden videos can still be opened with a single click on the overlay, which also prevents the annoying hover-to-play feature on thumbnails.
  • Highly Customizable: Easily tweak settings like video age, categories, colors, and the blur intensity directly from the Violentmonkey dashboard.
  • Future-Proof Updates: The script is designed to safely add new configuration options in future updates without overwriting your existing settings.

Customization

You can customize the script's behavior by editing its values in the Violentmonkey dashboard's "Values" tab for this script.

Default Configuration:

{
  "maxVideoAge": 15,
  "categoriesToHide": ["Music", "Sports"],
  "notSeenBorderColor": "#00FF00",
  "seenBorderColor": "#FF0000",
  "partiallySeenBorderColor": "#8A2BE2",
  "overlayBlurAmount": 8,
  "iconUrlByAge": "https://upload.wikimedia.org/wikipedia/commons/e/e1/Calendar_%2889059%29_-_The_Noun_Project.svg",
  "iconUrlByCategory": "https://upload.wikimedia.org/wikipedia/commons/4/4b/Discrete_category.svg",
  "debug": false
}

Parameter Descriptions:

  • maxVideoAge: (Number) The maximum age of a video in days. Videos older than this will be hidden.
  • categoriesToHide: (Array of Strings) A list of YouTube categories to hide. Any video matching a category in this list will be hidden.
  • notSeenBorderColor: (String) Hex color code for new, unwatched videos.
  • seenBorderColor: (String) Hex color code for fully watched videos.
  • partiallySeenBorderColor: (String) Hex color code for partially watched videos.
  • overlayBlurAmount: (Number) The intensity of the blur effect in pixels for hidden videos. 0 means no blur.
  • iconUrlByAge: (String) The URL for the icon displayed on videos hidden due to their age.
  • iconUrlByCategory: (String) The URL for the icon displayed on videos hidden due to their category.
  • debug: (Boolean) Set to true to print detailed logs to the browser's Developer Console for troubleshooting.