Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Turn your browser into a notepad with one line. Parent comment
data:text/html,<html><script>window.onload=function(){var a=document.body;a.addEventListener("keydown", function(b){if(b.ctrlKey&&83===b.which){document.location = 'data:text/html,' + document.childNodes[0].outerHTML;b.preventDefault();}},!1);document.title= document.body.innerText.replace(/\n[\s\S]+$/," - ")+new Date().toString();};</script><body contenteditable></body></html>
Just press Ctrl+S and use the browser history to access it later! And this means it also haves a pseudo-version-control-system included! For easy access the first line in the text becomes the title.
In coderwall: https://coderwall.com/p/xh9u3w
There are no comments on this comment yet.
Just press Ctrl+S and use the browser history to access it later! And this means it also haves a pseudo-version-control-system included! For easy access the first line in the text becomes the title.
In coderwall: https://coderwall.com/p/xh9u3w