Homepage
https://github.com/PoKeRGT/userscripts
Violentmonkey userscript
YouTube Video Age and Category Filter
This user script allows you to filter out old YouTube videos and hide videos in certain categories.
It fetches video details such as upload date and category, and then applies filters based on user-defined preferences.
The script hides videos that are older than a specified age, as well as videos in specific categories.
It also provides visual cues by adjusting the opacity and adding borders to the videos based on the defined criteria.
The user can customize the maximum video age, opacity, categories to hide, and border colors through the script's settings.
Default Values:
{
"maxVideoAge": 15,
"opacity": 0.25,
"categoriesToHide": "['Music', 'Sports']",
"notSeenBorderColor": "#00FF00",
"seenBorderColor": "#FF0000"
}
- maxVideoAge: days
- opacity: 0-1
- categoriesToHide: string list
- notSeenBorderColor & seenBorderColor: RGB Hex color code or color name