HOME | DD

#customization #greasemonkey #input #memory #safety #userscript #inputtext
Published: 2014-12-22 18:45:21 +0000 UTC; Views: 2598; Favourites: 29; Downloads: 0
Redirect to original
Description
This is a working, installable script!Install-Link
Mirror 1: phi.pf-control.de/userscripts/…
Mirror 2: greasyfork.org/de/scripts/7084…
Eclipse
Works in general in Eclipse.
Known bugs:
- When canceling a comment the old comment stays and delete/back keys are disabled in the input field.
About
Ever wrote a big text and suddenly you left the site/browser crashed/pc exploded?
I tend to write long comments. Looking up information, quoting sites with giving sources etc.
I hate when this happens.
This script puts a little blue corner into any large text-inputfield (textarea and div.contenteditable). If you click it, it will turn red and record all text you type there.
Rightclick will restore the text, even if you left the site.
Hovering will show the stored text's source code.
Using the GM-Menu you can clean your text-storage.
Originally This was why I used Lazarus and History Form Control as Firefox-Addons.
However, those doesn't work for me when using div.contenteditable forms, as dA and a lot of other Forum-software does (e.g. woltlab, wordpress).
Information
Supported Browsers:
- Chrome + Tampermonkey
- Opera + ViolentMonkey
- Firefox + Greasemonkey
The script identifies a input-box using
location.host+"::"+document.activeElement.tagName+"_"+document.activeElement.className+"_"+document.activeElement.id;
which is the host::tag_classes_id, e.g. dediggefedde.deviantart.com:
Displayed in the Preview's bottom you can see another's script effect: dA_Channel_Footer will add a footer, e.g. DDs at the bottom of the page.
Update:
Now works with the new Greasemonkey for Firefox Quantum.
Related content
Comments: 7
TighteyWhiteys [2020-06-04 01:22:14 +0000 UTC]
👍: 0 ⏩: 1
Dediggefedde In reply to TighteyWhiteys [2020-06-04 10:00:39 +0000 UTC]
👍: 0 ⏩: 0
Dediggefedde In reply to Jakeukalane [2017-11-30 18:42:18 +0000 UTC]
I still really like this userscript, especially on simpler websites where there is no autosave-feature.
Whenever I write something longer than 5 sentences, I usually turn the box red to save me from writing everything again! ^^
👍: 0 ⏩: 0
TakuyaRawr [2014-12-23 01:49:22 +0000 UTC]
I... don't seem to be getting it to work? on tampermonkey
👍: 0 ⏩: 1
Dediggefedde In reply to TakuyaRawr [2014-12-23 02:31:34 +0000 UTC]
Thanks for your report!
I found a little bug that I tried to fix.
Please install the new Version 1.03 to make it work in the current Chrome & Tampermonkey!
👍: 0 ⏩: 1
TakuyaRawr In reply to Dediggefedde [2014-12-23 04:32:18 +0000 UTC]
Nice, it appears to work fine now
👍: 0 ⏩: 0