Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to filter out by username #26

Open
2 of 3 tasks
wijayaerick opened this issue Jul 4, 2022 · 1 comment
Open
2 of 3 tasks

Ability to filter out by username #26

wijayaerick opened this issue Jul 4, 2022 · 1 comment

Comments

@wijayaerick
Copy link

wijayaerick commented Jul 4, 2022

First of all, thank you for maintaining this amazing project! I find this extension very helpful to filter unwanted comments and replies from spam accounts.

It would be nice to have the ability to filter comment/replies by words in the username. Example:

Blocked words

  • Enable word filter
  • Use regex
  • Apply filter to username <-- New feature

Edge case

  • I think the language filter should not be applied on usernames (e.g. if enable Japanese language whitelist filter, we may not want to remove Japanese comments written by non-Japanese usernames).

Use case

In many cases, I am able to filter spam accounts by their comments. However, it's not rare that spam accounts have unwanted words/characters in their username instead of in comments. I'm looking at you, fake verified checkmark 🅥


Edit:

In case anyone else stumbles on this, I ended up using uBlock Origin and added these filters:

! removes comments containing text (both in username & comment) that matches the regex
youtube.com##ytd-comment-renderer.ytd-comment-thread-renderer:has-text(<regex>):nth-ancestor(1)
! removes replies containing text (both in username & comment) that matches the regex
youtube.com##ytd-comment-renderer.ytd-comment-replies-renderer:has-text(<regex>)
@wijayaerick wijayaerick changed the title Ability to filter by username Ability to filter out by username Jul 4, 2022
@tigercoding56
Copy link

also it could be nice to block users by specific patterns in their pfp (for example average color or how close it is to the profile picture of another user you blocked ) but this could be difficult to implement

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants