[PATCH] Konqueror adblock
Ivor Hewitt
ivor at ivor.org
Wed Apr 27 09:14:20 BST 2005
> Ivor Hewitt wrote:
>> Hi,
>>
>> I've always missed an adblock style filter integrated into konqueror, and
>> wanted to implement something similar whilst trying to keep it simple.
>>
>> I've attached my current cut of this, I'd appreciate any
>> comments/suggestions/pointers.
>>
>> The tar file contains diffs against kdelibs and kdebase, and three new
>> files for kdebase.
>>
>> Basically I hold a list of url regexes that are then checked against
>> requests for external scripts or images in kdelibs/khtml/misc/loader.cpp.
>
> Thanks, almost perfect :). Two comments though.
>
That good already! gosh. :)
> It's annoying to have image frames and broken image icons if image is
> blocked. Is it possible not to draw them?
>
This is my first kde coding, so I'm not sure how to do that yet but yes that
would make sense.
My next challenge is to add a pop-up selector taht shows the current links in
the page in the same fasion as adblock.. made a start on that no this mornings
commute.
> Selecting expression from the list in kcontrol should make it appear in
> editline. This makes modifying expressions much easier.
>
I'm sorry I don't know what you mean by that. Do you mean there's a flag I
can/should set on the edit control?
Cheers,
Ivor.
More information about the kfm-devel
mailing list