Skip to content

Instantly share code, notes, and snippets.

@ericvanjohnson
Created May 28, 2009 03:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ericvanjohnson/119078 to your computer and use it in GitHub Desktop.
Save ericvanjohnson/119078 to your computer and use it in GitHub Desktop.
Ubiquity command the involks the HootSuite Bookmarklet
CmdUtils.makeBookmarkletCommand({
name: 'send-to-hootlet',
icon: "http://static.hootsuite.com/images-3-7-0/favicon.ico",
homepage: "http://www.esolves.com",
author: { name: "Eric Van Johnson", email: "eric@esolves.com"},
license: "GPL",
description: "Sends URL to post via Hootsuite.com",
help: "Type 'send-to-hootlet",
url: "javascript:var%20d=document,w=window,e=w.getSelection,f='http://hootsuite.com/twitter/bookmark-tool-v2?',l=d.location,e=encodeURIComponent,p='address='+e(l.href)+'&title='+escape(d.title),u=f+p;a=function(){if(!w.open(u,'t','scrollbars=1,toolbar=0,location=0,resizable=0,status=0,width=555,height=570'))l.href=u;};if(/Firefox/.test(navigator.userAgent))setTimeout(a,0);else%20a();void(0);",
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment