[PATCH] Support for bookmarklets

David Faure faure at kde.org
Mon Feb 2 23:49:00 GMT 2009


On Thursday 29 January 2009, Aurélien Gâteau wrote:
> Attached is a patch which adds support for bookmarklets to Konqueror.
> 
> In case you don't know about them, bookmarklets are one-line javascript 
> bookmarks which can be triggered by the user to do nifty things with the 
> current web page, for example enforcing a sane combination of background 
> and foreground colors. One of the most common bookmarklets is the one 
> provided by Del.icio.us to bookmark pages to their service. You can find 
> it here:
> 
> http://delicious.com/help/bookmarklets
> 
> The patch is quite simple, but requires linking libkdeinit_konqueror 
> with khtml.

Maybe the additional linking isn't needed if you just let konqueror ask
khtml to open the javascript url (using KParts::ReadOnlyPart::openUrl)?
Just wondering; otherwise no strong objection against linking khtml.

-- 
David Faure, faure at kde.org, sponsored by Qt Software @ Nokia to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).




More information about the kde-core-devel mailing list