Last active
September 29, 2022 22:21
-
-
Save 19WAS85/5161260 to your computer and use it in GitHub Desktop.
Put the content of release.html file into your address bar...
Now you have a (salvable and editable) notepad in your browser!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment