Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/7twin/devrant-comment-rant-saver

Save comment or rant, when accidentally clicking outside the textbox area
https://github.com/7twin/devrant-comment-rant-saver

Last synced: 3 months ago
JSON representation

Save comment or rant, when accidentally clicking outside the textbox area

Awesome Lists containing this project

README

        

![image](https://user-images.githubusercontent.com/32747235/40582249-42a1c50e-6170-11e8-9bea-6fc616cec14a.png)

# devrant-comment-rant-saver
Save comment or rant, when accidentally clicking outside the textbox area

# TOC
* [Screenshots](#screenshots)
* [Download](#download)
* [Possible ToDo](#possible-todo)

# Screenshots
![Comments](https://user-images.githubusercontent.com/32747235/40582255-63bd8bf6-6170-11e8-80ab-f8fc7802ec82.gif)

# Download
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

# Possible ToDo
- [ ] 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?)