I keep copies of Scripts in a separate folder (on Dropbox, which has 30-days of simple-versioning) and then copy them into the existing GM folder as required, or install as new.
I use Emacs, so I built some commands to copy them in for me. Additionally, version-control software is highly recommended for any coding. Check out CVS or SVN, in particular. On Aug 5, 3:49 am, metzgerite <[email protected]> wrote: > greasemonkey is brutal, no script backup folder, nothing. > > I actually have a backup folder in my documents with a link to it in > the gm_script folder. I work on the live file because that's the only > way to see your changes instantly, but every so often (I use Notepad++ > as editor) I will do a Save As and save a copy into my backup folder. > > A few days ago I still got hosed, had about 1/2 days work into a > relatively complex function that was almost done. I started a test > script to test a few lines of code by copying my script, erasing > everything except the comment section up top, and installed it into > GM. > > Well fuck, GM saves the script according to the @name in the top part > of the fucking file, and it overwrote the other one completely. To > complete the bullshit, Notepad++ noticed that the file on disk had > changed and helpfully reloaded the test script over the top of my > work. > > Now I have a separate empty test script, I backup my main one manually > almost every time I breathe, have notepad set to backup, and turned > off the goddamn 'reload automatically from disk' setting in notepad. > > So yeah, I feel your pain. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "greasemonkey-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/greasemonkey-users?hl=en -~----------~----~----~----~------~----~------~--~---
