Skip to content

Instantly share code, notes, and snippets.

@philgruneich
Created November 17, 2014 03:22
Show Gist options
  • Save philgruneich/56f065b0a174979edff5 to your computer and use it in GitHub Desktop.
Save philgruneich/56f065b0a174979edff5 to your computer and use it in GitHub Desktop.
Cleans the content of your current page and creates a new note in Evernote.
javascript:(function(){var request=new XMLHttpRequest();request.open("GET","http://heckyesmarkdown.com/go/?read=1&md=0&preview=0&showframe=0&output=url&u="+encodeURIComponent(location.href),true);request.send();request.onreadystatechange=function(){location.href="evernote://x-callback-url/new-note?type=html&title="+encodeURIComponent(window.document.title)+"&text="+request.responseText};})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment