javascript:window.location=... aka bookmarklets

orang at imonk.com orang at imonk.com
Sat Jun 7 23:18:23 BST 2003


I use a server-side bookmark manager (cool little mod_python app I ought
make available) due to my lack of consistent computing location.  However,
to make adding bookmarks viable I need to do something have a bookmark be:

javascript:window.location='http://mysite/speedAdd?title='+escape(document.title)+'&body='+escape(location.href);

This works for galeon, mozilla, Opera, and IE...but not konqueror.  I used to
use konqueror as my primary browser until this issue, then got hooked on
galeon.  Now that konqueror has tabbing too, and galeon seems to be getting
too brittle for me, a non-gnome user (non-kde as well...I like raw fvwm), I'd
really like to get konqueror to work.

I see that there was some patch by Alexander Kellett a while back, but I
prefer to use whatever possible through my normal apt-get methodology...which
means no custom patching of mainstream code that has apt dependencies.

So, is there a way to get the current page and title embedded in an URL
with konqueror such that I have a one-click way of putting bookmarks
on my server?  My thoughts are:

bookmarklets (javascript: in url): if konqueror has a way I don't know of

web shortcuts: if there is some way to have a parameter automaticly filled with
current location and title.


-- 
AJ Weber
orang at imonk.com
aweber at dreamworks.com





More information about the kfm-devel mailing list