Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

This question already has an answer here:

I've noticed that userscripts aren't automatically synchronized like (regular) extensions in Google Chrome.

Is there any way to ensure that userscripts are synchronized between Chrome installations?

share|improve this question

migrated from stackoverflow.com Jun 8 '13 at 16:48

This question came from our site for professional and enthusiast programmers.

marked as duplicate by Kevin Panko, music2myear, Excellll, Ramhound, Oliver Salzburg Oct 9 '14 at 9:52

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
It appears that it's possible to create a Chrome extension from a Greasemonkey script: blog.justin.kelly.org.au/… – Anderson Green Dec 15 '12 at 7:12
1  
That blog post is obsolete. See this answer for more up to date information. Also, Chrome userscripts are auto-converted to extensions anyway. – Brock Adams Dec 15 '12 at 7:32
    
@BrockAdams In that case, is there any way to synchronize a userscript's locally stored data between Chrome installations? – Anderson Green Dec 15 '12 at 7:35
    
@BrockAdams I want to find some way to synchronize the local storage for Chrome userscripts. I wonder if it's possible to use chrome.storage in userscripts: developer.chrome.com/extensions/storage.html – Anderson Green Dec 15 '12 at 7:47
    
@BrockAdams Correction, the chrome.storage feature is also available in Content scripts if the storage permission is specified in the manifest file. – Rob W Dec 15 '12 at 8:54
up vote 12 down vote accepted

It is already possible to synchronize userscripts using the Tampermonkey extension for Google Chrome. To synchronize userscripts, go to the "settings" tab of Tampermonkey. Set "config mode" to "beginner" or "advanced", and then enable "Chrome Sync" under "TESLA".

share|improve this answer
    
I enabled that option on both of my Chrome installations but it did not sync my script. – Nate May 20 '14 at 14:18
2  
Tampermonkey will only sync external scripts – ElephantHunter Jun 19 '14 at 19:40
    
A simple way to store your userscripts externaly and keep them in sync is to store them in Dropbox and then share them. Once Dropbox gave you the share URL, just replace the parameter ?dl=0by ?dl=1 which will serve the file instead of showing it. Then, in your userscript header, just add @downloadURL https://www.dropbox.com/s/......./usercript_example.js?dl=1. Don't forget to increment the @version so that TamperMonkey will detect the update. – Patate Feb 5 at 12:03

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