Joined: Jan 2009
Posts: 120
Thanks:
0
Hi!
I am working with a greasmonkey.script on my laptop.
Is there a way to transfer/copy this script to a 2nd laptop?
If so, could you please explain the way how to manage it?
Thank you!!
Joined: Jan 2009
Posts: 120
Thanks:
0
maybe I need to rewrite the question:
those who work on 2 desktops with 1 greasemonkey script- how do you handle it?
Thank you!
Joined: Aug 2008
Posts: 11
Thanks:
0
I don't know about other platforms, but on Windows, the scripts are stored somewhere like C:\Users\(username)\AppData\Roaming\Mozilla\Firefox\Profiles\(whatever).default\gm_scripts\(script name). (I found that location by using Greasemonkey's "Manage User Scripts" function to edit a script, which brought up Notepad, and then I told Notepad to "Save As..." and looked to see where it was going to save.)
Copy the .js file from there to any location (e.g. Desktop) on your other machine. Insert ".user" into the filename before the ".js", e.g. change "foo.js" to "foo.user.js". Then open that foo.user.js file in your other Firefox installation (with Greasemonkey already installed) and Greasemonkey should offer to install the script.
I hope this helps.
Joined: Aug 2008
Posts: 11
Thanks:
0
The .js file should be platform-independent JavaScript.