[PATCH] Ad blocking with instant effect
Andreas Kling
kling at impul.se
Wed Jul 20 13:43:48 BST 2005
Hello there,
Nikolas suggested I bring this up with everyone on the list, so here goes.
The attached patch will modify the KHTML ad blocker to have instant effect
when adding/removing filters. In other words, all matching IMG and IFRAME
elements will go away when adding a new filter, and if you remove it, they
will pop back.
This only applies to new filters. Elements that were filtered on page load
will not return when removing the corresponding filter. (Until the page is
reloaded, of course.)
Have a look and give me your thoughts.
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: khtml-immediate-adblock-2.patch
Type: text/x-diff
Size: 2912 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20050720/db626201/attachment.patch>
More information about the kfm-devel
mailing list