Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have some great greasemonkey scripts for FireFox and would ideally have a way to sync them between computers. To some degree, it would even be nice to be able to deploy the scripts to PC's across a network at the office.

How can I sync these between workstations?

share|improve this question
    
I wonder if it would be possible to synchronize Greasemonkey scripts (and all related data) using a Google Chrome extension. I'll try to find an extension that can do this. –  Anderson Green Dec 12 '12 at 0:12
    
Today, I found out that it's possible to synchronize Greasemonkey scripts in Google Chrome using Tampermonkey: forum.tampermonkey.net/viewtopic.php?f=26&t=414 –  Anderson Green Dec 28 '12 at 19:39

4 Answers 4

up vote 11 down vote accepted

I use Dropbox to sync greasemonkey scripts:

  1. Make a folder: My Dropbox\App Sync\Firefox\
  2. Find your profile directory ([random string] wil be something like 2b5dk3bs)
    • XP: C:\Documents and Settings\[username]\Application Data\Mozilla\Firefox\Profiles\[random string].default
    • Vista: C:\Users\[username]\AppData\Roaming\Mozilla\Firefox\Profiles\[random string].default
  3. Move the gm_scripts folder to My Dropbox\App Sync\Firefox\
  4. Use the Link Shell Extension to create a Junction called gm_scripts in the profile directory. A Junction is kind of like a symbolic link. To do this, right-click the gm_scripts folder in your Dropbox and click 'Pick Link Source'. Then, in your profile directory, right-click and pick Drop As >> Junction.
  5. For every other machine, delete the gm_scripts folder in your profile, and add the junction as before.

I also use this trick for extensions, mouse gestures redox config, stylish, and menu editor files.

share|improve this answer
    
Sweet idea. I've been wanting to do the same thing but never found a way to do it. –  spaetzel Jul 15 '09 at 16:49
    
In Windows 7 you can use "mklink -J" to create junction. –  cysiek10 Feb 11 '12 at 10:37
    
Where would the scripts be stored on Ubuntu? –  Anderson Green Dec 12 '12 at 0:16

Since Greasemonkey's December 2013 1.13 release there is an option to use Firefox Sync to keep installed User Scripts the same on all your browsers.

See also a September 2013 blog post: Firefox Sync coming to Greasemonkey.

share|improve this answer
    
Thanks for editing! –  manuc66 Apr 19 at 17:51

I just finished setting up Windows Live Mesh to sync my greasemonkey scripts. This works on Vista SP2 or higher, or Mac OS X 10.5 or newer. Those who want maximum availability to XP and linux should still look at tghw's answer. However, for those who only need to sync to more recent versions of Windwos and OS X, Windows Live Mesh is a good option that does not require creating junctions.

  1. Install Windows Live Mesh on each machine & sign up.
  2. Find gm_scripts directory (C:\Users[username]\AppData\Roaming\Mozilla\Firefox\Profiles[random string].default\gm_scripts)
  3. Select "Sync a folder" in Windows Live Mesh and paste in your gm_scripts path.
  4. You can choose to which machines to sync to, and you can also sync to SkyDrive.
  5. Windows Live Mesh will start syncing.
share|improve this answer

I'm using Firefox Environment Backup Extension (FEBE) to make backups of ALL firefox related stuff, including extensions as greasemonkey

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.