Turn Your Browser into a Notepad With a Single Line of HTML5
If you ever need a quick scratchpad to just write, not save what you write, but just write, you can quickly turn your web browser into an ultra-basic notepad with a single line of HTML.
This clever trick comes from developer Jose Jesus Perez Aguinaga who says that “sometimes I just need to type garbage. Just to clear out my mind. Since I live in the browser, I just open a new tab and type”:
| data:text/html, <html contenteditable> |
contenteditable
attribute and the modern browser’s ability to handle data URIs, your browser is now a notepad — just click to type.
0 comments:
Post a Comment