Skip to content

Instantly share code, notes, and snippets.

@chrisalbright
Last active July 25, 2016 02:23
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save chrisalbright/8718388 to your computer and use it in GitHub Desktop.
Save chrisalbright/8718388 to your computer and use it in GitHub Desktop.
Bookmarklets :)
<a href='javascript:(function(){var a=alert,b=Date,c=Number,d="";if("undefined"!=typeof window.getSelection){var e=window.getSelection();if(e.rangeCount){for(var f=document.createElement("div"),g=0,h=e.rangeCount;g<h;++g)f.appendChild(e.getRangeAt(g).cloneContents());d=f.innerHTML}}else"undefined"!=typeof document.selection&&"Text"==document.selection.type&&(d=document.selection.createRange().htmlText);a(new b(c(d)));})();'>Parse Epoch</a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment