Loosely based upon Taq Karim's TabNotes.
I've expanded it and it now uses localStorage instead of copy/paste, though with that it no longer runs through the data:text/html,
URI. When installed as a chrome extension, it can take advantage of Google Chrome's sync service, so your data will be synced between devices and browsers.
/reset
(or/clear
): Clears the notepad and storage/print
: Removes the/print
from the notepad and opens the print dialog (doesn't work in Chrome extension mode)/save
: Removes the/save
from the notepad and saves the raw HTML document you've typed. (doesn't work in Chrome extension mode)/settings
: Takes you to the settings page in a new tab
CTRL+b
toggles bold textCTRL+i
toggles italic textCTRL+u
toggles underlined textCTRL+p
opens the print dialog so you can save it as a PDF or print to a physical printerCTRL+s
saves the document to your hard drive (doesn't work in Chrome extension mode)CTRL+z
undos the last actionCTRL+x
cuts textCTRL+y
redos the last actionCTRL+a
selects all textCTRL+f
finds textCTRL++
zooms inCTRL+-
zooms outCTRL+0
resets zoom
Thanks mottaquikarim for the inspiration and boilerplate.
Hosted on Netlify