RESOLVED DUPLICATE of bug 219001 153559
Feature request: add "subdocument" resource type for content blockers
https://bugs.webkit.org/show_bug.cgi?id=153559
Summary Feature request: add "subdocument" resource type for content blockers
Andrey Meshkov
Reported 2016-01-27 14:26:19 PST
Currently there is no way to distinguish frames from top windows. Meanwhile this can be really useful for ad blocking. Please read this github issue comments to find out why it may be useful: https://github.com/AdguardTeam/AdguardBrowserExtension/issues/145
Attachments
aitte
Comment 1 2016-06-02 12:02:13 PDT
Dear Webkit developers, improving the Content Blocker API is very important! It is so close to being great but its limitations hold it back. The #1 source of Content Blocker rules in Safari is via the Adblock Plus formatted lists, and people converting them into Content Blocker rules. All of those lists contain "subdocument" blockers to remove ad-iframes, but to allow direct visits to those pages. Since Safari doesn't distinguish between iframes and direct visits, those rules cannot be written in Safari's Content Blocker. Leading to bugs like this: https://github.com/AdguardTeam/AdguardBrowserExtension/issues/262 Please, improve the Content Blocker API. It's very close to being superb, it just needs more features to uncripple it.
Radar WebKit Bug Importer
Comment 2 2019-04-11 22:54:12 PDT
Alex Christensen
Comment 3 2021-05-19 14:20:08 PDT
*** This bug has been marked as a duplicate of bug 219001 ***
Note You need to log in before you can comment on or make changes to this bug.