Link to Stack Overflow post discussing different ways to detect non-Latin characters with regex.
https://stackoverflow.com/a/15786657
Ideally this would check usernames/channel names, video titles, video descriptions, and anything else that is related to a video and is checkable for non-Latin characters.
Feature Enhancement:
This is much lower on my list of wants. I just think it would a good fit with the rest of your script.
There is another script that I use for YouTube, and I think you should merge into yours. It adds a feature when the mouse hovers over a video, it shows a couple of overlay buttons,
"Don't recommend channel"
"Not interested"
"Remove from 'Watch later'" (If the video is already in your 'Watch later' list.)
It would be useful if in addition to those, you could also add a video/channel to the blacklist in the same way.
The script is "YT: not interested in one click" and has not been updated in years, though it works without errors or issues.
First, this script is very helpful. There is a feature that I would really like you to add to it though.
Feature Request:
Add a check box to automatically hide any video that uses non-Latin letters unless the channel is whitelisted.
There is a script for the search on this site (Greasy Fork) that does this.
The regex that they used is:
/[^\p{Script=Latin}\p{Script=Common}\p{Script=Inherited}]/gu
Link to that script:
Link to Stack Overflow post discussing different ways to detect non-Latin characters with regex.
Ideally this would check usernames/channel names, video titles, video descriptions, and anything else that is related to a video and is checkable for non-Latin characters.
Feature Enhancement:
This is much lower on my list of wants. I just think it would a good fit with the rest of your script.
There is another script that I use for YouTube, and I think you should merge into yours. It adds a feature when the mouse hovers over a video, it shows a couple of overlay buttons,
It would be useful if in addition to those, you could also add a video/channel to the blacklist in the same way.
The script is "YT: not interested in one click" and has not been updated in years, though it works without errors or issues.
There could also be the option to remove all the buttons around the videos with something like this:
You could also have the option to remove all the buttons around the videos while keeping the overlay button to "Add to blacklist".