News for hackers. Stuff that matters.
Re:Show HN: Poor man's Google Docs by koolba on Tuesday August 30, 2016 @03:31PM (#12393152)
> 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/WindowEvent...

Re:Show HN: Poor man's Google Docs by nitrogen on Tuesday August 30, 2016 @09:22PM (#12395237)
Also, Ctrl-Shift-T will usually bring back the tab you just closed with its state intact. Some JS-heavy pages don't restore cleanly, though.
Re:Show HN: Poor man's Google Docs by agumonkey on Wednesday August 31, 2016 @04:14AM (#12396752)
GP bookmarklet isn't restored under Chrome
Re:Show HN: Poor man's Google Docs by wyldfire on Wednesday August 31, 2016 @08:45AM (#12397863)
In this case, it won't bring back your html editable. :(