user.js, and other files...

Talk about add-ons and extension development.
Post Reply
ksheka
Posts: 102
Joined: November 6th, 2002, 5:46 pm
Location: New York, NY, USA

user.js, and other files...

Post by ksheka »

Hi.
I've been using Mozilla for quite a while and have a lot of stuff in my user.js file. I've got others I work with interested in Mozilla. What files can I edit so that they all inherit the same preferences?
Is there a global user.js? If so, where should it be located?
User avatar
davidp
Posts: 29
Joined: November 9th, 2002, 8:10 pm
Location: Ottawa, Ontario
Contact:

Re: user.js, and other files...

Post by davidp »

ksheka wrote:Hi.
I've been using Mozilla for quite a while and have a lot of stuff in my user.js file. I've got others I work with interested in Mozilla. What files can I edit so that they all inherit the same preferences?
Is there a global user.js? If so, where should it be located?


<your mozilla dir>/defaults/pref/*.js

All of those files are executed on startup, so you could add a my-favourite-prefs.js to that directory and it should do the trick.

HTH,
David
User avatar
Gunnar
Posts: 729
Joined: November 5th, 2002, 4:55 am
Contact:

Re: user.js, and other files...

Post by Gunnar »

ksheka wrote: I've got others I work with interested in Mozilla.


Keep it up ;-)
http://mozilla.gunnars.net - The Mozilla Help Site
User avatar
xah
Posts: 306
Joined: November 8th, 2002, 6:17 pm

all.js

Post by xah »

If they are all using the same computer, you could put the prefs in all.js.

The only trouble is, you have to update all.js each time you install a fresh Mozilla.
Post Reply