Create a gist now

Instantly share code, notes, and snippets.

@dhou /x
Created Jan 23, 2009

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