Skip to content

Instantly share code, notes, and snippets.

@dhou
Created January 23, 2009 12:48
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 dhou/51007 to your computer and use it in GitHub Desktop.
Save dhou/51007 to your computer and use it in GitHub Desktop.
CmdUtils.makeBookmarkletCommand({
name: 'share-on-friendfeed',
icon: "http://friendfeed.com/favicon.ico",
homepage: "http://damienh.org",
author: { name: "Damien Hou", email: "houyongr@gmail.com"},
license: "GPL",
description: "Share the current page to frienfeed",
help: "Just type 'share-on-frienfeed'",
url: "javascript:void((function(){var%20e=document.createElement('script');e.setAttribute('type','text/javascript');e.setAttribute('src','http://friendfeed.com/share/bookmarklet/javascript');document.body.appendChild(e)})())",
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment