Youtube Frontpage Filterer

Provides a somewhat easy way to filter/remove videos on the recommended page on youtube, using their own events instead of using a mutation observer

作者
TetteDev
日安装量
0
总安装量
2
评分
0 0 0
版本
0.01
创建于
2025-10-27
更新于
2025-10-27
大小
5.6 KB
许可证
MIT
适用于

Filter out videos from the youtube frontpage based on some user provided conditions. Edit the code to your liking after the comment tag saying // Edit these to your liking

Here is some examples

// Edit these to your likings
// Must be valid CSS
const HideCss = 'display: none !important;';
// Hide videos based on the uploader, case sensitive
const HiddenUploaders = ['HasanAbi', 'Hasan Piker', 'IShowSpeed', 'MrBeast', 'Kai Cenat'];
// Hide videos containing some words in their title, case insensitive
const HiddenTitleSubstrings = ['hasan','hasanabi','greta','thunberg','palestine','gaza','israel','hamas'];
// Hide videos you have watched fully
const HideWatchedVideos = false;
// Videos with less than this amount will be hidden, -1 disables this feature
const HiddenViewCountThreshhold = -1;

Perhaps a mutation observer should be used also if youtube changes its functionality etc