A different way of doing something similar, with no code at all:
Copy the following into your browser URL bar: "data:text/html, <html contenteditable>" (without quotation marks)
Copy the following into your browser URL bar: "data:text/html, <html contenteditable>" (without quotation marks)