Created
January 29, 2013 23:49
-
-
Save vool/4669137 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html contenteditable spellcheck="true" id="f" style="font-size:2rem;line-height:1.4;max-width:60rem;margin:0 auto;padding:4rem;"><title>Skratch Pad</title><script>window.onload=function(){var f=document.getElementById('f');f.innerHTML=r(localStorage.f)};onkeyup=function(){localStorage.f=f.innerHTML};function r(f){var e =/(\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/ig;return f.replace(e,"<a href='$1' style='cursor:pointer' onclick='window.open(this.href);return false'>$1</a>")}</script><style>body{color:#242424; background-color:#fffff2; padding:10px;border-radius:4px;box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2);} #f{background-color:#eee;}</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment