How to block top-level domain

About: Google Hit Hider by Domain (Search Filter / Block Sites)
Hi!
How to implement this feature in script?
I try to import next variants:
.com
*.com
|.com:t|
|*.com:t|
www.*.com
But without success...

Comentarios

  • Currently, there is no way to block an entire generic TLD such as .com or .sucks. The script performs comparisons of the domain in the search result by progressively removing subdomains and comparing each for an exact match on your block list:

    www.my.social.network.com
    my.social.network.com
    social.network.com
    network.com

    and then stops. A pure TLD is never checked against the block list. Or should I say, if there is no dot left in the domain, the script stops comparing (see line 350).

    This probably could be changed, but in a few experiments this morning, I got infinite loops that froze the browser, so it's something I would need to test carefully.

    (Currently, if you want .com on the block list, you can import www.com and then use the un-www button. But for the above reason, it won't do anything. Adding a TLD block would require a usable interface, too.)
Accede o Regístrate para comentar.