Bug 132576 - Match adblock filters against link HREFs
Summary: Match adblock filters against link HREFs
Status: REPORTED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml adblock (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR wishlist
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-18 00:25 UTC by Carsten Lohrke
Modified: 2006-09-03 16:15 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
adblock-rules (299 bytes, text/plain)
2006-08-18 00:26 UTC, Carsten Lohrke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Carsten Lohrke 2006-08-18 00:25:39 UTC
Version:            (using KDE KDE 3.5.4)
Installed from:    Gentoo Packages

On this¹ site I stumbled about this advert², which doesn't get blocked by Konqueror, but does by Firefox, using the same rules (see attched rule set)


[1] http://www.rennrad-news.de/forum/
[2] http://www10.mtb-news.de/anz/adclick.php?bannerid=135&zoneid=15&source=&dest=http%3A%2F%2Fwww.canyon.com
Comment 1 Carsten Lohrke 2006-08-18 00:26:06 UTC
Created attachment 17407 [details]
adblock-rules
Comment 2 Andreas Kling 2006-08-18 13:00:49 UTC
Your regexp doesn't cover "adimage.php", which is the image filename.

Make it "/(\/|\.|-)(ad(|client|click|s|server|tech|v|vert|image)|banners|werbung)(\/|\.|\?)/" and it'll work fine.
Comment 3 Carsten Lohrke 2006-08-18 19:32:39 UTC
Hu? Any part of the url should match, not just the filename - and "/adclick." does.
Comment 4 Andreas Kling 2006-08-19 20:42:44 UTC
The KHTML ad blocker doesn't filter on link URL's, it only looks at the image address. If you want that, open a feature request, this isn't a bug.
Comment 5 Andreas Kling 2006-09-03 16:15:46 UTC
Reopening as wishlist, as per Carsten's request.