personal-blocklist
personal-blocklist copied to clipboard
Support more patterns to matching
Current rules is 'if url matches any pattern in list, block it'. (Which mean 'a' will block facebook.com
, apple.com
.)
I want it support Regex (or wildcard), title match, ... etc, like:
- if
URL
matches
/facebook|instagram/
, block it. - if
Title
matches
*.cn
, block it. - if
URL
contains
string-waat
, block it. - if
URL
exactly matches
https://www.pinterest.com/pin/387309636705112790
, block it.
I push this feature as I see lots of junk domains including *.tk, *.cf, *.ml, *.gq, *ga etc.
Currently, you could add .tk
, .cf
, .ml
, .gq
, .ga
in order to block those websites from search results.
But it is still better to have this feature. :)
Yes, I figured it out. Instead of .tk, it is better to use '.tk/' with slash so that the pattern only matches when 'tk' comes just before slash. Otherwise, '.tk' also matches '.tking' or anything with 'tk' at the beginning. Still, '.tk/' does not assure this part belongs to top domain, but could belong any part of a URL. I hope https?://.tk/ type regex will be implemented some day.