Firefox bookmarklet for Goodlinks?

Anyone got a working firefox bookmarklet for Goodlinks? I know I can use the [^] share sheet but I like the speed of a bookmarklet in the toolbar. This is what I have, but not working…

javascript:window.location=‘goodlinks:///save?url=’+encodeURIComponent(window.location)+’&title=’+encodeURIComponent(document.title)

GoodLinks uses the x-callback-url thing:

javascript:window.location='goodlinks://x-callback-url/save?url='+encodeURIComponent(window.location)

Their scheme is documented here if you want to make your bookmarklet more fancy.

awesome thanks a lot!

If you want to fill the title as well…

javascript:void(location.href='goodlinks://x-callback-url/save?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title))