News for hackers. Stuff that matters.
Re:Turn your browser into a notepad with one line by jfaucett on Tuesday January 29, 2013 @03:59PM (#5136220)
That is so cool :). I just slapped together a (really) simple chrome ext for opening up a new tab in "contenteditable" mode. It saves the contents into localStorage, thats it for now :) Here it is if anyones interested https://github.com/jwaterfaucett/textpad
Re:Turn your browser into a notepad with one line by zchr on Tuesday January 29, 2013 @09:41PM (#5137741)
Made it a chrome extension for an easier install.

https://chrome.google.com/webstore/detail/textpad/edopaieiod...

Re:Turn your browser into a notepad with one line by cfontes on Wednesday January 30, 2013 @06:16AM (#5138986)
Thanks, works like a charm.
Re:Turn your browser into a notepad with one line by aeon10 on Wednesday January 30, 2013 @10:09AM (#5139775)
I forked your code, added support so you can do (C-N) to open a new tab, click tab and start typing (the cursor will be at the end of the line), polished it up a bit (changed font to consolas, added a grey background with a tint of white text-shadow). I've sent a pull request.

https://github.com/AeonAxan/textpad

Re:Turn your browser into a notepad with one line by jfaucett on Wednesday January 30, 2013 @04:11PM (#5141781)
nice :) I just merged your modifications.
Re:Turn your browser into a notepad with one line by dirkk0 on Tuesday January 29, 2013 @05:31PM (#5136810)
ok - and how do I retrieve the saved contents?
Re:Turn your browser into a notepad with one line by brunolazzaro on Tuesday January 29, 2013 @05:47PM (#5136885)
They are loaded when you re-open the extension by the looks of it.
Re:Turn your browser into a notepad with one line by dirkk0 on Wednesday January 30, 2013 @02:22AM (#5138513)
Doesn't work for me - seems I am doing something wrong. I open a tab, write something, close the tab. I open a fresh tab - no text. I'd expect that the written text would show up.
Re:Turn your browser into a notepad with one line by reidrac on Wednesday January 30, 2013 @04:01AM (#5138689)
Did you save it? (CTRL+S)
Re:Turn your browser into a notepad with one line by dirkk0 on Wednesday January 30, 2013 @04:47AM (#5138765)
No, I didn't. Now it works, thanks!
Re:Turn your browser into a notepad with one line by maskedinvader on Tuesday January 29, 2013 @09:14PM (#5137678)
this is cool, just wondering is there an easy way to export the text ? save as and then renaming to .txt doesnt seem to grab the text, just the html.
Re:Turn your browser into a notepad with one line by wilfra on Tuesday January 29, 2013 @06:58PM (#5137222)
Can anybody please give me quick install instructions? There is no readme and I'm unfamiliar with how to add a Chrome extension based on a Github repo.
Re:Turn your browser into a notepad with one line by justjohn on Tuesday January 29, 2013 @08:21PM (#5137532)
In Chrome: 1. Tools -> Extensions 2. Enable "Developer Mode" 3. "Load Unpacked Extension" and select the directory you cloned into.
Re:Turn your browser into a notepad with one line by wilfra on Tuesday January 29, 2013 @10:11PM (#5137835)
Thanks!