Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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: – Anderson Green Dec 28 '12 at 19:39
Please check the updated answer and see if you can accept it or not. – Ooker Feb 15 '15 at 14:16
up vote 14 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 '14 at 17:51
This is the latest updated answer. It was written in 2014, since other answers were in 2009. – Ooker Feb 15 '15 at 14:15
This option only syncs scripts which are installed and updated from a web link. It's pretty useless if you are the author of some unpublished scripts which you want to sync between multiple machines. – Piyush Soni Apr 20 at 14:04

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

share|improve this answer

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .