eitland + notes   9

Put the content of release.html file into your address bar... Now you have a (salvable and editable) notepad in your browser!
data:text/html,<!DOCTYPE html><html><head><title>Notepad</title><link rel="shortcut icon" href="http://www.veryicon.com/icon/16/Application/App/notepad.png"/><script>function onBodyLoad(){document.body.addEventListener('DOMSubtreeModified', function (){var firstLineText=document.body.firstChild.textContent;document.title=firstLineText;});}</script></head><body onLoad="onBodyLoad()" contenteditable style="max-width: 600px;margin: 20px auto;font-size: 11pt"></body></html>




data:text/html,
<!DOCTYPE html>
<html>
<head>
<title>Notepad</title>
<link rel="shortcut icon" href="http://www.veryicon.com/icon/16/Application/App/notepad.png" />
<script>
function onBodyLoad() {
document.body.addEventListener('DOMSubtreeModified', function () {
var firstLineText = document.body.firstChild.textContent;
document.title = firstLineText;
});
}
</script>
</head>
<body onLoad="onBodyLoad()" contenteditable style="max-width: 600px; margin: 20px auto; font-size: 11pt"></body>
</html>
html  browser  notes  notepad  hack 
november 2014 by eitland

Copy this bookmark:



description:


tags: