You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

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.