Blocking sites based on their content

Hello,

I've been searching for a solution to block a certain webpages based on their content. The main goal is to block videos with so called 'brainrots' that pop-up on my child's screen. Youtube does not provide data about videos' titile within incoming request, so I would need to scrap the page's content. I could do that, but I need some kind of proxy. Since I found PiHole, I thought maybe I'll drop by and ask, if there is a possibility to do it in an easier way.

Thank you in advance!
Best regards

The keyword here is "content".

Content is seeing only by the browser, so you need to use a browser extension to block/filter content.

Thank you!

You'd need a proxy or enterprise-grade firewall to handle this kind of blocking. For home use, I'd try a proxy. Either of these two options, combined with DNS blocking are how schools implement content restrictions.

Using just a browser extension would not be ideal, as it can be disabled/uninstalled locally.