Problem with document option
Environment
- Browser and full version: Chrome 101.0.4951.64 & Firefox 88.0
- Extension using this toolkit: ABP 3.13
Steps to reproduce
- Open Chrome/Firefox with ABP and Acceptable Ads (exceptionrules) enabled
- Go to livenewsnow.com or sport.es
- Look for the ads within an iframe served with param unblockia=true
- There are allowlisting filters:
@@^unblockia=true$document,domain=
@@^unblockia=true$domain=
Testing domains:
- https://productivityspot.com/sparkline-google-sheets/
- livenewsnow.com
- sport.es
Actual behavior
**We are implementing a temporary solution, which is serving one filter without the domain list (global allowlisting).
To reproduce, please disable the generic filter:
@@^unblockia=true$document
and add:
@@^unblockia=true$document,domain=sport.es|livenewsnow.com|productivityspot.com
**
Some elements are blocked within the iframe. Ads are served partially (without image) or completely empty; in case of serving third-party ads, in some cases they are visible (like Criteo, globally allowlisted partner), in some cases they remain blocked.
Most likely there are no hits from this filter:
@@^unblockia=true$document,domain=
The partner uses plain text file as a first source in its iframe - usually ads.txt with the param ?unblockia=true remains blocked.
Another partner with the same set of filters (one with $document,domain and one with $domain), but with different implementation, is not affected by the new release. It seems also that the issue is not present on Opera + extention with the build-in adblocking disabled (ver 86).
When the filter without document option is manually added as a generic filter, the ads are served:
@@^unblockia=true$document
The ads are also served when ABP 3.12 was used
Expected behavior
Document option for iframe sourced at ads.txt?unblockia=true allowlisting elements inside of it.