Browser plugins available!
I finally created a nice api for the application using the embedded jetty http server! Now you can add new bookmarks with a firefox button!
Firefox and Opera plugin
In order to bokkmark the currently displayed page with Firefox/Opera simply add a new Bookmark to the Toolbar and set as location (one line!):
javascript:location.href='http://localhost:9999/api/newBookmark?url='+encodeURIComponent(location.href)
+ '&title='+encodeURIComponent(document.title)
+ '&description='+encodeURIComponent(window.getSelection())