Profile Folder: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
m (bolding profile file names)
(Firebird --> Firefox)
Line 21: Line 21:


===How do I manage my profile(s)?===
===How do I manage my profile(s)?===
You can add, modify, delete, and more by running Mozilla.exe (or MozillaFirebird.exe) with a "-P" switch. On Windows, this will involve typing
You can add, modify, delete, and more by running Mozilla.exe (or MozillaFirefox.exe) with a "-P" switch. On Windows, this will involve typing
:path\to\Mozilla\Mozilla.exe -P
:path\to\Mozilla\Mozilla.exe -P
in MS-DOS (Start > Run > 'command'). The Mozilla profile manager will start up.
in MS-DOS (Start > Run > 'command'). The Mozilla profile manager will start up.


===What's in my profile?===
===What's in my profile?===
[http://www.gemal.dk/mozilla/files.html gemal.dk] has a wonderful listing of files for the Mozilla profile files. Some files may not apply to Firebird, especially the ones involving the mail client, etc. Some of the important ones:
[http://www.gemal.dk/mozilla/files.html gemal.dk] has a wonderful listing of files for the Mozilla profile files. Some files may not apply to Firefox, especially the ones involving the mail client, etc. Some of the important ones:
* '''bookmarks.html''': This is your bookmarks file, as you can tell.
* '''bookmarks.html''': This is your bookmarks file, as you can tell.
* '''cookperm.txt''': Your cookie permissions - e.g. what sites you have set to always allow cookies and always deny cookies from.
* '''cookperm.txt''': Your cookie permissions - e.g. what sites you have set to always allow cookies and always deny cookies from.
* '''prefs.js''': All your settings. A more intuitive way of accessing this is typing about:config in your location bar.
* '''prefs.js''': All your settings. A more intuitive way of accessing this is typing about:config in your location bar.
* '''user.js''': If you must add things to the prefs.js file by hand, edit this file. Everything in it will be written to the prefs.js file on next startup. However, deleting this file, will not delete the entries in prefs.js.
* '''user.js''': If you must add things to the prefs.js file by hand, edit this file. Everything in it will be written to the prefs.js file on next startup. However, deleting this file, will not delete the entries in prefs.js.
* '''chrome/userChrome.css''': Control how Firebird/Mozilla looks. Because everything is in a variant of XML, the look of Firebird/Mozilla is easily controled by using CSS.
* '''chrome/userChrome.css''': Control how Firefox/Mozilla looks. Because everything is in a variant of XML, the look of Firefox/Mozilla is easily controled by using CSS.
* '''chrome/userContent.css''': These are the near equivalent of user styles. Everything you write in here (CSS) will be applied to the web pages you visit, unless the author of the web page has overriden it. To prevent overridings, use the [http://www.w3.org/TR/CSS21/cascade.html#important-rules !important rule].
* '''chrome/userContent.css''': These are the near equivalent of user styles. Everything you write in here (CSS) will be applied to the web pages you visit, unless the author of the web page has overriden it. To prevent overridings, use the [http://www.w3.org/TR/CSS21/cascade.html#important-rules !important rule].

Revision as of 20:01, 9 February 2004

Your profile is a folder is where Mozilla store settings, bookmarks, user styles, chrome styles, themes, extensions, cache, mail (in the case of the Mozilla Suite), and more.

Where is my profile directory?

On Windows 95/98/Me:

C:\Windows\Application Data\Mozilla\Profiles\<Profile name>\????????.slt\

On Windows 2000/XP:

C:\Documents and Settings\<Windows user name>\Application Data\Mozilla\Profiles\<Profile name>\????????.slt\

On Windows NT 4.0:

C:\Winnt\Profiles\<Windows user name>\Application Data\Mozilla\Profiles\????????.slt\

On Linux:

~/.mozilla/<Profile name>/????????.slt

On MacOS X:

~/Library/Mozilla/Profiles/<Profile name>/????????.slt

What's that .slt folder?

That's called "salting". It's a random combination of letters and numbers so that malicious users have a harder time to access and modify your profile.

How do I manage my profile(s)?

You can add, modify, delete, and more by running Mozilla.exe (or MozillaFirefox.exe) with a "-P" switch. On Windows, this will involve typing

path\to\Mozilla\Mozilla.exe -P

in MS-DOS (Start > Run > 'command'). The Mozilla profile manager will start up.

What's in my profile?

gemal.dk has a wonderful listing of files for the Mozilla profile files. Some files may not apply to Firefox, especially the ones involving the mail client, etc. Some of the important ones:

  • bookmarks.html: This is your bookmarks file, as you can tell.
  • cookperm.txt: Your cookie permissions - e.g. what sites you have set to always allow cookies and always deny cookies from.
  • prefs.js: All your settings. A more intuitive way of accessing this is typing about:config in your location bar.
  • user.js: If you must add things to the prefs.js file by hand, edit this file. Everything in it will be written to the prefs.js file on next startup. However, deleting this file, will not delete the entries in prefs.js.
  • chrome/userChrome.css: Control how Firefox/Mozilla looks. Because everything is in a variant of XML, the look of Firefox/Mozilla is easily controled by using CSS.
  • chrome/userContent.css: These are the near equivalent of user styles. Everything you write in here (CSS) will be applied to the web pages you visit, unless the author of the web page has overriden it. To prevent overridings, use the !important rule.