Last Updated: December 24, 2019
·
2.313K
· ivanca

Browser notepad + Save

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