Do you find yourself repeatedly opening notepad/gedit/leafpad instances to write down some text while surfing? Here’s a quick trick by which you can use your browser as a textpad. Just press CTRL+T (or open a new tab) and type the following in URL BAR and hit enter :

data:text/html, <body contenteditable>

You have a quick textpad ready in view area to jot down/paste anything you want.

Remembering that is too much? You can make it your bookmark.

Here’s how to do it in firefox :

1.) Go to Firefox > Options and make sure Bookmarks Toolbar is checked.

2.) Right click on your bookmarks toolbar and click New Bookmark.

3.) Name this new bookmark – TEXTPAD.

4.) In Location field type – data:text/html, <body contenteditable>

5.) Click Add.

That’s it. Just whenever you need a textpad, open a new tab and click this bookmark you just created.

You can even change the appearance of text in this browser’s textpad using body element’s attributes. For example :

data:text/html, <body contenteditable style=”font-size:3rem;color:red;line-height:1.5;max-width:70rem;margin:0 auto;padding:3rem;”>