[PATCH] Ad blocking with instant effect

Thiago Macieira thiago at kde.org
Wed Jul 20 14:38:42 BST 2005


Andreas Kling wrote:
>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.)

That's a nice idea. Thanks for implementing it!

But I fear it may be confusing: some filters have immediate effect, some 
don't. I'd rather have the Apply button re-apply all filters again if 
possible.

In order to refilter, does khtml require a reload from network?

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

5. Swa he géanhwearf tó timbran, and hwonne he cóm, lá! Unix cwæð "Hello, 
World". Ǽfre ǽghwilc wæs glæd and seo woruld wæs fréo.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20050720/b11987a2/attachment.sig>


More information about the kfm-devel mailing list