Summary: | Match adblock filters against link HREFs | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Carsten Lohrke <carstenlohrke> |
Component: | khtml adblock | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | wishlist | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | adblock-rules |
Description
Carsten Lohrke
2006-08-18 00:25:39 UTC
Created attachment 17407 [details]
adblock-rules
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. Hu? Any part of the url should match, not just the filename - and "/adclick." does. 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. Reopening as wishlist, as per Carsten's request. Dear user, KHTML (and KJS) was a long time more or less unmaintained and got removed in KF6. Please migrate to use a QWebEngine based HTML component. We will do no further fixes or improvements to the KF5 branches of these components beside important security fixes. For security issues, please see: https://kde.org/info/security/ Sorry that we did not fix this issue during the life-time of KHTML. Greetings Christoph Cullmann |