AdguardTeam / SafariConverter

Converter: ad blocking rules -> safari content blocker
GNU Lesser General Public License v3.0
13 stars 1 forks source link

Domain modifier does not apply to a rule with the badfilter modifier. #11

Closed jellizaveta closed 1 year ago

jellizaveta commented 1 year ago

How to reproduce:

  1. go to: https://triblive.com
  2. disable all filters in safari extension
  3. add to user rules:
    ||embed.sendtonews.com^$third-party
    ||embed.sendtonews.com^$third-party,badfilter,domain=miamiherald.com

    (note that domain in the domain modifier is a different site)

  4. embed.sendtonews.com works for triblive.com. Expected Behavior: embed.sendtonews.com is blocked for the site triblive.com and works for miamiherald.com.

Related issue: https://github.com/AdguardTeam/AdguardFilters/issues/165220

jellizaveta commented 1 year ago

Moved to the appropriate repository