Skip to content

Instantly share code, notes, and snippets.

@crates
Last active April 29, 2019 18:00
Show Gist options
  • Save crates/81d60e0a35f3564a5c3b4fcc420cdbec to your computer and use it in GitHub Desktop.
Save crates/81d60e0a35f3564a5c3b4fcc420cdbec to your computer and use it in GitHub Desktop.
In-browser Notes: Take notes using a browser bookmark
data:text/html;charset=utf-8,<title>In-Browser Text Editor</title><style>body%7Bbackground%3A%23123%3Bcolor%3A%23333%3Bpadding%3A20px%3Bmargin%3A0%2520auto%3Bwidth%3A90%25%7Dtextarea%7Bbackground%3A%23fbfbfb%3Bborder%3A0%3Bcolor%3A%23333%3Bfont-family%3Asans-serif%3Bfont-size%3A2rem%3Bheight%3A98%25%3Bline-height%3A1.4%3Bmargin%3A0%2520auto%3Boutline%3A0%3Bpadding%3A4rem%3Bwidth%3A100%25%7Dbutton%7Bbackground-color%3A%23fbfbfb%3Bborder%3A1px%2520%23ccc%2520solid%3Bcolor%3A%23999%3Bcursor%3Apointer%3Bfloat%3Aright%3Bmargin%3A10px%25200%3Bpadding%3A5px%252010px%7D%40media%2520%28max-width%3A768px%29%7Bbody%7Bwidth%3A100%25%3Bpadding%3A0%7Dtextarea%7Bpadding%3A10px%7Dbutton%7Bfloat%3Anone%7D%7D</style><body><button%20onclick="sM();%20return%20false">Email%20this</button><textarea%20contenteditable%20id=TE%20spellcheck=false%20placeholder=Write...%20autofocus></textarea><script>function%20sM(){var d=new Date();var t=d.toDateString()+' '+d.toLocaleTimeString();var%20a="mailto:[email protected]?subject="+escape("In-browser%20Notes " + t)+"&body="+escape(document.getElementById("TE").value);window.location.href=a};var d=new Date();var t=d.toDateString()+' '+d.toLocaleTimeString();var x = document.getElementById("TE"); x.innerHTML=t+'\n\n';</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment