7 ms·
Looks pretty good. For an even-poorer-man's google docs, I like to keep this bookmarked: data:text/html, <html contenteditable> If you navigate to that s
by cwkoss 10y ago
Looks pretty good.
For an even-poorer-man's google docs, I like to keep this bookmarked:
data:text/html, <html contenteditable>
If you navigate to that string in your browser it gives you a blank, editable page. No saving or any fancy features, but it is pretty convenient to be able to quickly spin up a scratch pad sometimes.
- edroche 10y agoVery cool tip, although I use notepad++ for this because even if I shut everything down it saves any new tabs I opened as temp files without me giving it a second thought.
- aji 10y agothis reminds me of something I made once that was basically exactly this, but included a button you could click that would run, more or less window.location = "data:text/html," + document.documentElement.outerHTML functioning as a kind of lame save button
- ianlevesque 10y agoClever, but why? Notepad.exe, TextEdit.app, Gedit, nano are all already there - and do save if you want to after. TextEdit will even just let you quit and come back without saving and the draft is there. Leave the browser sometimes man!
- andrewla 10y agoThe nicest thing with using a shortcut like the one above is that all formatting is preserved, tables especially, but also other html elements with styling (mostly). This is very handy in a lot of contexts.
- fuck_google 10y agoThat is also something that Google Docs lacks because of the bloated NIH document editing interface.
- zatkin 10y agoHow dare you forget my favorite text editor in your list.
- dcgoss 10y agoWhich is?
- deleted 10y ago[deleted]
- deleted 10y ago[deleted]
- wingless 10y agoed.
- francium_ 10y agovim
- gravypod 10y agoCat, Awk, Grep, and unix pipes
- deleted 10y ago[deleted]
- gumby 10y agoEmacs. In TECO.
- dvfjsdhgfv 10y agoZile
- contingencies 10y agocopy con
- 10y ago
- sigjuice 10y agoAlso, a quick way to get a scratch pad in Emacs is to switch to a non-existent buffer. C-x b foo RET and type away in a buffer called foo.
- deleted 10y ago[deleted]
- wyldfire 10y agoWhatever you do, don't fat-finger ctrl-w or similar. :(
- koolba 10y ago> Whatever you do, don't fat-finger ctrl-w or similar. :( You could add a onbeforeunload handler to prevent that. You'll immediately recognize it from every other annoying web page that adds uses. [1]: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onbeforeunload https://developer.mozilla.org/en-US/docs/Web/API/WindowEvent...
- nedwin 10y agoI use this Chrome extension and it has been awesome. text area + edit + save whenever you open a new tab.