Save comment or rant, when accidentally clicking outside the textbox area
Download tampermonkey:
- Chrome: https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo
- Firefox: https://addons.mozilla.org/en-US/firefox/addon/tampermonkey/
- Opera: https://addons.opera.com/en/extensions/details/tampermonkey-beta/
- Other: https://tampermonkey.net/ (follow instructions there)
Then install the user-script here: https://github.com/7twin/devrant-comment-rant-saver/raw/master/devrant-comment-rant-saver.user.js
- Save rants and comments to localstorage, so they can be recovered even if the tab or browser was closed
Note: make sure to distinguish between the input used for editing a post and an actual new rant/comment textbox, because they have the same name (in case of rant edit: maybe check the url, if the rant input is being saved on a rant page or on the feed?)