Notepads are something very useful for everyone. Sometimes you just need to note down something very quick but don’t have to save it or Whenever you want to note down something important while someone is talking to you on phone or directly, you may not always have a pen and paper in front of you. You may not also get enough time to open a notepad on your laptop when a browser is already in use. So, here’s a trick for you to overcome this problem! And that’s using chrome as a notepad. This simple trick uses Data URI Scheme with html attribute ‘contenteditable’.
Internet Explorer- Tips And Tricks
- Just open the browser and enter “data:text/html, <html contenteditable>” , you can actually get this as a suggestion when you just type the starting word or copy this on a sticky note(in laptop).
- And that’s it, you can type whatever you want to and use it like a notepad! You can cut, copy, paste and do everything as on a notepad. You can see in the below screenshot, how easily a simple URL changed your browser to a Notepad.
- And here’s your endless notepad! Write whatever you want and save it.
If you want to save your data it is same as you save normal browser i.e ‘Ctrl + S’ for windows and ‘Cmd + S’ for Mac OS , It saves the file as html document.
It doesn’t end here, You can also style your document as you like using the html ‘Style’ attribute. You can change the font, align the text, change text color, background color and what not. The styling of your document is similar to styling html document using css. The attributes described within the tags <style> and </style> describes the styles to be added to the html.
Here is quick example for styling:
“data:text/html, <html contenteditable><style>body { width: 960px; margin: 0 auto; display: block; height: 100%; font-size: 42px; padding: 15px;}</style></html>”
Not just this, You can use other styling attributes like changing background color while typing the text and what not, Just show your HTML and CSS skills here.
Just copy paste the above text in the address bar and use your customized notepad in chrome. If you are wondering how to type or remember the whole text, you don’t have to worry because you don’t need to remember it. Just like any other web address, if you use this link once, from the next time you will get this in suggestions when you start typing in the address bar. You can also bookmark this URL for easy access.
So, isn’t that easy and cool? You can do this not only in Chrome but also in Opera, IE and Firefox too. Now stop worrying when you have to note down something quick and when you don’t have a pen or paper with you, simply open the browser and start using this amazing trick and Enjoy!!
This is how you can easily convert chrome into notepad.