Sunday, 16 April 2017

One line browser notepad



Introduction

Sometimes I just need to type garbage. Just to clear out my mind. Using editors to type such gibberish annoys me because it clutters my project workspace (I'm picky, I know).
So I do this. Since I live in the browser, I just open a new tab and type in the url tab.
data:text/html, <html contenteditable>


You can use textarea and make it "invisible" if you want autofocus.
data:text/html, <textarea style="font-size: 1.5em; width: 100%; height: 100%; border: none; outline: none" autofocus />



Voila, browser notepad.

No comments:

Post a Comment