-
-
Save ericvanjohnson/119078 to your computer and use it in GitHub Desktop.
Ubiquity command the involks the HootSuite Bookmarklet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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