Browser turns into quicknotepad and bookmark

I was randomly searching on google "how can I use my browser window as a notepad", I found a solution Just type it in the browser

data:text/html, <html contenteditable>

Link URL

My question is Is it possible to save it in the browser with typed data, or mark it with typed data?

thank

+3


source to share


2 answers


You can do it, but you need this html instead data:text/html, <html contenteditable>

data:text/html, <html><body><input type=button id="add"
onclick='location.href=location.href.replace(/ENTER TEXT HERE/g,"")+
document.getElementsByTagName("div")[0].innerHTML' 
value="ADD to URL" /><br/><br/><div contenteditable>ENTER TEXT HERE

      



This script adds your body of text to the url, then you can bookmark the current page in your browser. clicking CRTL+D

+2


source


As the page says

If you want to save your content, follow the normal browser save (CMD + S for OSX). It will save your content as an html file.



If yours is not on a mac, you can usually save the page with CTRL+S

. To resume editing, simply open the html file that was saved.

+1


source







All Articles