I'm using a bookmarklet to post URLs to my known installation.
javascript:(function(){window.open('http://xyz/known/share?share_url='+encodeURIComponent(location.href)+'&share_title\='+encodeURIComponent(document.title));})();
This returns the URL:
I want to have
&share_type=bookmark
appended to the url, yet since I don't understand JavaScript, fail to.
You can try this:
javascript:(function(){window.open('http://xyz/known/share?share_url='+encodeURIComponent(location.href)+'&share_title\='+encodeURIComponent(document.title) + '&share_type=bookmark');})();