Where developers come to connect, share, build and be inspired.

7

Browser notepad + Save

712 views

data:text/html,<html><script>window.onload=function(){var a=document.body;a.innerText=localStorage.mydoc;a.addEventListener("keydown",function(b){b.ctrlKey&&83==b.which&&(localStorage.mydoc=a.innerHTML,b.preventDefault())},!1)};</script><body contenteditable></body></html>

With this you can save using the URL!

Just press Ctrl+S and use the browser history to access it! That means it also haves a pseudo-version-control-system included! For easy access the first line in the text becomes the title. Happy hacking!

Fork of: https://coderwall.com/p/lhsrcq

Comments

Add a comment