Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install
FacebookMessageSaver
This is a script to prevent loss of unsent facebook messages by inadvertent redirection -- when navigating away from a message page a popup will ask whether this was intentional. If not, the page will reappear with the unsent message still intact.
|
|
I just realized there was a bug in the old code that was causing the error I mentioned in the previous comment (losing the text you type if you type something before the page has finished loading). So I fixed the code and have posted it. Please reinstall this script if you are a user. |
|
|
Hi crazian, recently facebook messages have started losing the text you type if you type something before the page has finished loading. My script doesn't prevent that -- it prevents you losing what you have typed if you navigate away from the page before sending the message. I plan to work on a fix for the more recent problem in version 2 of my script. |
|
|
sounds very cool!! i am having too much experiences of losing the words i typed... Thanks!!! |
|
|
I changed the popup window to inform users that they should press ok to send a message (a quick fix till I work out how to prevent the popup from firing when submitting a newly compsed message) |
|
|
yes, that is more concise. |
|
|
you can use document.body instead of document.getElementsByTagName('body')[0]; |
|
|
I just fixed an issue with semicolons -- they weren't properly being saved, but now they are. If anybody has any issues or problems with the functionality of this script, please leave a comment. |
|
|
I fixed the issue where the popup would appear even when the message box is empty or contains only whitespace (no non-whitespace characters). Also the popup does not fire now if there is no option to reply (as is the case with some messages. |
You could comment on this script if you were logged in.
