Now I just need some javascript to listen for Ctrl+S and save it as a text file in ~/Documents/scratchpads. Time to get crackin'
How do you save stuff in files from the browser? I've googled around about this a couple times and not found anything good, so if anyone can point to some clear documentation I'd appreciate it.
Turn your browser into a notepad with one line
21–30 of 186 posts
Re: Turn your browser into a notepad with one line
#22Now I just need some javascript to listen for Ctrl+S and save it as a text file in ~/Documents/scratchpads. Time to get crackin'
How do you save stuff in files from the browser? I've googled around about this a couple times and not found anything good, so if anyone can point to some clear documentation I'd appreciate it.
Re: Turn your browser into a notepad with one line
#23Re: Turn your browser into a notepad with one line
#24Personally I'm more interested in the concept of typing gibberish to clear your mind. What particular kind of gibberish? Doggerel verse? Blind keyboard mashing?
What's really amazing is when seemingly unrelated stressful moments in your life are revealed to be from the same source.
Re: Turn your browser into a notepad with one line
#25Very neat. Is there a way to only do plain text?
Re: Turn your browser into a notepad with one line
#26I use Workflowy for this. In the url bar, I type: w Or, if you're a a super-organized shortcut-type, w "@misc" Bonus points -- combine with ctrl+T and ctrl+W for command-line-fu-like syntax on whichever page you're currently browsing!
The ` @misc` part also doesn't make sense. That just does a search for tags, it doesn't put you in a mode to just write, which is what the OP's solution does.
Last but not least, a little pro-tip for ya, since you like the command line (or keyboard shortcuts as they are also called:) : Command-L puts the cursor in the location bar. So you can do +L w . Also, shift back to a previous tab with cmd+shift+[ and +].
Re: Turn your browser into a notepad with one line
#27I set this as the default URL for new tabs.. Now, everytime I open a new tab, I have a quick scratchpad for pasting/testing/etc.
Re: Turn your browser into a notepad with one line
#28I put together a little project that uses the browsers localstorage so you can jot notes down and come back to them, I find it useful as I'm always in the browser, hope you do too: http://a5.gg
Re: Turn your browser into a notepad with one line
#29I use Workflowy for this. In the url bar, I type: w Or, if you're a a super-organized shortcut-type, w "@misc" Bonus points -- combine with ctrl+T and ctrl+W for command-line-fu-like syntax on whichever page you're currently browsing!
I use workflowy too, but I'm not sure what you're talking about. `w ` is going to send you to the first site with w in the name (which in my case is 'wikipedia.com' - I have to type 'wor' for workflowy.com to be selected). The ` @misc` part also doesn't make sense. That just does a search for tags, it doesn't put you in a mode to just write, which is what the OP's solution does. Last but not least, a little pro-tip f…
Same goes for "@misc". When I want to brain-dump some gibberish, as in the OP's use case, the @misc tag contains a big dump of stuff that I generally refine or delete later.
I don't know why I don't use ctrl+l -- i usually use ctrl+e or ctrl+k and then backspace (why do these do the same thing in chrome?). But yeah, thanks for the advice.