[Webkit-unassigned] [Bug 152598] Feature request: a callback when request is blocked by the Content Blocker

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 26 17:44:39 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=152598

Neil Jhaveri <neil at neiljhaveri.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |neil at neiljhaveri.com

--- Comment #16 from Neil Jhaveri <neil at neiljhaveri.com> ---
This would be helpful for my app too, here's my use case...

I'm an email client author. Many email services allow senders to include "tracking pixels" to know when the recipient opened a message. Disabling remote images is the traditional fix, but this is a kindof painful for the typical user to run with. IMO significant value can be provided by blocking tracking pixels from a blocklist, but otherwise allowing remote images.

Objective:
This callback would allow me to present a "A tracking pixel from SERVICE_NAME was blocked" banner in the UI, and a button to load it anyways. To do this, I would need to know that (A) a blocker rule fired, and (B) the URL that was blocked (so I can say "from SERVICE_NAME").

(As of now I think my only option is to iterate every image and check for a blocked pattern match manually, which is not very efficient.)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200627/8c608280/attachment.htm>


More information about the webkit-unassigned mailing list