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.




Aug 15, 2007
rainwala Script's author

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.

 
Aug 14, 2007
rainwala Script's author

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.

 
Aug 14, 2007
crazian User

sounds very cool!! i am having too much experiences of losing the words i typed... Thanks!!!

 
Jul 19, 2007
rainwala Script's author

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)

 
Jul 18, 2007
rainwala Script's author

yes, that is more concise.

 
Jul 18, 2007
sizzlemctwizzle Scriptwright

you can use document.body instead of document.getElementsByTagName('body')[0];

 
Jul 17, 2007
rainwala Script's author

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.

 
Jul 17, 2007
rainwala Script's author

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.