Skip to content

Instantly share code, notes, and snippets.

@brianhanifin
Created March 3, 2009 17:44
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 brianhanifin/73421 to your computer and use it in GitHub Desktop.
Save brianhanifin/73421 to your computer and use it in GitHub Desktop.
Readability
CmdUtils.makeBookmarkletCommand({
name: "readability",
icon: "http://lab.arc90.com/favicon.ico",
homepage: "http://lab.arc90.com/experiments/readability/",
url: "javascript:(function(){readStyle='style-ebook';readSize='size-large';readMargin='margin-medium';_readability_script=document.createElement('SCRIPT');_readability_script.type='text/javascript';_readability_script.src='http://lab.arc90.com/experiments/readability/js/readability-0.1.js?x='+(Math.random());document.getElementsByTagName('head')[0].appendChild(_readability_script);_readability_css=document.createElement('LINK');_readability_css.rel='stylesheet';_readability_css.href='http://lab.arc90.com/experiments/readability/css/readability.css';_readability_css.type='text/css';document.getElementsByTagName('head')[0].appendChild(_readability_css);_readability_print_css=document.createElement('LINK');_readability_print_css.rel='stylesheet';_readability_print_css.href='http://lab.arc90.com/experiments/readability/css/readability-print.css';_readability_print_css.media='print';_readability_print_css.type='text/css';document.getElementsByTagName('head')[0].appendChild(_readability_print_css);})();"
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment