Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install
Textarea Backup
Retains text entered into textareas.
The primary purpose of this userscript is to save having to retype lost emails, forum posts, bug submissions, etc. The backup should be transparent so if the page is reloaded for whatever reason, be it browser crash, unintended exit or a forgetful website, the previously entered text will be restored.
When you enter text into atextarea (i.e multiline text input areas) it is saved under the following conditions:
- At each keystroke.
- Every second.
- When the
textarealoses focus.
form is submitted.
Updates:
- Gmail Cc:, Bcc: bug fixed.
- Backups saved more frequently.
- Now warns on restoring over existing content.
- Ability to restore from a previous backup via the Userscript Commands menu.
- Backups are now reset on forms which are submitted via the
submit()method. - Added support for UTF8 (thanks to wind for that).
Notes
- Entries in
about:configcannot be removed via the userscript, this is a limitation in the current GreaseMonkey API. - On occasion an older copy of text remains backed up, this may be due to conflicting JavaScript interactions.
|
|
Thanks, trying it now. |
|
|
Have you ever thought about using cookies to store the data instead. I might post a mod of this soon using cookies instead of storing values in about:config. |
|
|
Just thought I would mention that the Session Manager extension also allows the saving of unsubmitted text after a crash/exit, if it is configured to do so. Session Manager saves all of the data in text files under the user's profile, as opposed to saving them in the about:config section. It also allows the user to encrypt the saved sessions. So, that might be something the script author may want to look to as an example for a different method of saving the data. Unfortunately, I am not familiar with creating GM scripts, so I don't know if this is applicable, but I just thought I would mention it. white-txtarea-us.8.pogue25@spamgourmet.com P.S. - If anyone has some hints on learning how to create GM scripts, please contact me and let me know, I would greatly appreciate it. |
|
|
Maybe there should be a sort of expire time, were when passed, the entry's are emptied and deleted (to clean out about:config). Have to say, very interesting script. |
|
|
Sorry for the triple posting, there was an error with the site and/or my browser. |
|
|
The idea is nice, but -like others said-, it doesn't do a great job for privacy (see in about:config).
|
|
|
The idea is nice, but -like others said-, it doesn't do a great job for privacy (see in about:config).
|
|
|
The idea is nice, but -like others said-, it doesn't do a great job for privacy (see in about:config).
|
|
|
The issue that causes this script to fill in the hidden BCC field in gmail also (of course) fills in the hidden CC field. If you use this script, be sure to add the following URL's (with "*" wildcards) to your list of excluded sites - otherwise you'll end up CC'ing the last person you CC'd every time you compose a new message ;( http://mail.google.com/*
PS - in my opinion this is a major issue with use of this script. Can't it be altered to not fill in hidden textareas? |
|
|
In reviewing my about:config file, I see that there are several textarea backup entries containing text that was backed up. If these backups are no longer necessary, can these entries be deleted? Is there a way to automate the entry deletion? (Might need another script for that, I guess.) |
|
|
Hi
function getValue_utf8(myVariableName) {
function setValue_utf8(myVariableName, myVariableValue) {
|
|
|
"Great Job!"??? Not quite (yes & no) I deleted my backups, so I cant upload any testify of it, but who want to see his\her history web life... you might want to go to about:config and in the Filter field enter "greasemonkey", and you'll see a huge history archives of YOU in the web... I would be great if I'll be able to get more, woops I meant "any", control on my backups!!! Thanks.
Great script I must to say! :) |
|
|
Great Job! |
|
|
Your script is great, but because your lack of knowledge/attention, you didn't exclude Gmail properly. That caused many people, myself included, great troubles, as the BCC field, which is hidden by default, kept it's content and sent many mails to people it shouldn't have. You need to change your excludes to this:
Hope you fix this soon, as it's a really important script to have. You should also take gabedibble's suggestion, and add support to auto-updates: http://userscripts.org/scripts/show/2296 |
|
|
Author: Please check out User Script Updates - simply update the header of your script and your users will be able to receive change-notification when you improve this script |
|
|
i had the same problem that Narsil did, but with the BCC field in gmail, which was worse as tons of ppl got an email that i didn't intend. i've disabled this until there's an update. great idea though ;) |
|
|
To: MacTed
Leaving entries in about:config is a problem. I hope greasemonkey can fix it by removing entries if GM_setValue a empty string. The bottom line is I can remove it in pref.js, which takes 1 min, and a successfully backup can save me much more time than that.</textarea> |
|
|
cool... until I noticed that it was creating one new Preference for EACH textarea it saved -- and while I can purge the saved value, I cannot purge the Preferences... (check your about:config) worse than that, I keep dozens of tabs open at once -- often with many of them having textareas for username and/or password and/or comment entry -- and this seems to be pushing Firefox into a perpetual backup cycle, just slurping down the CPU and otherwise. also, it's not purging all saved textareas when their parent forms are submitted. I don't know why, and I don't really want to figure out why -- I just want to get rid of the script and its lingering droppings. I've uninstalled, and told Greasemonkey to delete associated preferences -- but they remain in about:config! sometimes, an experimental script should not be released into the wild. |
|
|
Hoho ! Thanks tangonerd ! I saw that in the "to" field of gmail and didn't understand why. Even posted on gmail user group and had the answer : delete your cookies ! I've disabled the script until update. |
|
|
dangerdangerwarningwillrobinson You might want to check your CC and BCC fields on every email after you install this script. In gmail,for instance, unless you click "add CC" or "add Bcc" and have a look "under the hood", you may not realize you're CCing and/or Bccing every ensuing email to the most recent address(es) you entered. Seems like a bug, but if you share a computer with someone you'd like to prank or spy on, could be a feature. BCC:boss,mom,nytimes,etc. |
|
|
Works great in GreaseMonkey for Firefox! Great script. But please see if you can fix this to work with IE (via Turnabout):
You'd be addressing a major IE problem for those of us who have to use it once in a while. Currently Turnabout gives object doesn't exist errors in the console (with no real stack trace for me to tweak). Some resources for tracking down issues can be found here:
|
|
|
Great script; thank you! |
You could comment on this script if you were logged in.
