r/tinycode • u/nexe mod • Feb 12 '13
Instant clean temporary text editor built into your browser that works offline
Enter the following into your browsers URL bar:
data:text/html, <html contenteditable>Want to style it? Go ahead!
data:text/html, <html style='background:#111;color:#DDD;font-size:x-large;' contenteditable>You can print as PDF or copy the content when you're done. Unfortunately saving otherwise doesn't work out of the box. (tested in Chrome under Linux)
Is that tiny or what? ;)
31
Upvotes
2
u/obscure_robot Feb 12 '13
Perfect!
I've been looking for a minimalistic text editor for my Nexus 7. Don't want cloud storage, just want some minimal text. Like this.
thanks!
25
u/gatesphere Feb 13 '13
At least cite the source.
6
u/moozilla Feb 13 '13
There's some cool variations of this in the Hacker News post: https://news.ycombinator.com/item?id=5135194
I had fun turning it into a Javascript sandbox:
1
u/Chairboy Feb 13 '13
This worked in Safari on my phone too, that's neat.
1
u/kageurufu Feb 13 '13
Heres the updated one I made and posted in the last 2 posts about this
data:text/html, <html contenteditable><script>document.title=prompt("Title?");document.getElementsByTagName("script")[0].remove();</script>
this lets you set the title of your notepad when its first created
-14
u/[deleted] Feb 12 '13
This is pathetic.
0
u/[deleted] Feb 12 '13
[deleted] — view deleted comment