ublock吧 关注:13贴子:19
  • 1回复贴,共1

ublock可不可以这么写?

只看楼主收藏回复

对于一个经常变动域名的网站,可不可以写 abc*.com##.ddv3这样的静态语句阻止.ddv3这个东西出现.就是abc*.com中的*,他好像提示周末出错了.那么应该怎么阻止这一类网站的同一个.ddv3出现呢?只有穷举么?


IP属地:四川来自Android客户端1楼2023-03-19 16:14回复
    不行,下面是文档里与这个有关的部分
    Entity
    All static extended filters can apply to a specific entity. For example:
    google.*###tads.c
    An entity is defined as follows: a formal domain name with the Public Suffix part replaced by a wildcard.
    Examples: google.* will apply to all similar Google domain names: google.com, google.com.br, google.ca, google.co.uk, etc. Another example: facebook.* will apply to all similar Facebook domain names: facebook.com, facebook.net.
    Since the base domain name gets used to derive the name of the "entity", google.evil.biz would not match google.*.
    要不你只匹配class?等出问题了再说。
    *##.ddv3


    2楼2023-05-16 05:06
    回复