[PATCH] Konqueror adblock

N.Cat trisk at quasarnet.org
Wed Apr 27 10:39:56 BST 2005


On Wednesday 27 April 2005 4:14 am, Ivor Hewitt wrote:
> > 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.

I think he means for a lineedit above or below the list to display the 
contents of the currently selected entry and allow the user to save changes 
(the bookmark editor is an example).

-- 
[ 49206C6F76652041657269616E61 ]




More information about the kfm-devel mailing list