You are not logged in.

1

Wednesday, December 7th 2005, 5:52pm

Adding a "javascript bookmark"

Hi,

I'd like to configure konqueror to use CiteULike (http://www.citeulike.org). For that, they provide a javascript command that should be bookmarked and then used when naviguating a supported site to add the pages to the online library. The command looks like:

javascript:location.href='http://www.citeulike.org/posturl?username=ME&url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)

I've done that but if I naviguate to a supported site and click the bookmark, I just get a Google search of the term above ... Is it because Google is used by default on a URL that does not start with http or www? Can I change this behaviour?

Also, is it possible to run a javascript command from the location bar on the existing page?

Thanks,

djepi.