I am a 3x Entrepreneurs. Love writing code and sharing what I learn everyday as a programmer and an entrepreneur.

November 05, 2007

Configuring Firefox as You wish!!

In this tutorial, I’ll tell you about 3 files, that can be edited to configure Firefox.

user.js
Used to change various preferences.
userChrome.css
Used to change the appearance of the browser.
userContent.css
Used to change the appearance of web pages.

All these files are plain text files stored in your profile folder, and can be edited using a standard text editor, such as Notepad on Windows and gedit or kate on Linux.

The Profile Folder

The profile folder is where Firefox saves all your settings and refers to a location on your hard drive.

On Windows XP/2000, the path is usually

%AppData%\Mozilla\Firefox\Profiles\xxxxxxxx.defaul t\, where xxxxxxxx is a random string of 3 characters. Just browse to C:\Documents and Settings\[User Name]\Application Data\Mozilla\Firefox\Profiles\ and the rest should be obvious.

On Windows 95/98/Me, the path is usually C:\WINDOWS\Application Data\Mozilla\Firefox\Profiles\xxxxxxxx.default\

On Linux, the path is usually ~/.mozilla/firefox/xxxxxxxx.default/

On MacOS X, the path is usually ~/Library/Application Support/Firefox/Profiles/xxxxxxxx.default/

Firefox is capable of handling more than one user and thus, more than one profile. The path examples above refers to the default profile that is automatically created when you start Firefox for the first time. You can manage any number of profiles by using the Profile Manager.

%AppData% is a shorthand for the Application Data path on Windows 2000/XP. To use it, click Start > Run…, enter %AppData% and press Enter. You will be taken to the “real” folder, which is normally C:\Documents and Settings\[User Name]\Application Data.

user.js

This is the main preferences file for Firefox and is located in you profile folder. The file does not exist by default, so you need to create it before you can start adding your preferences.

userChrome.css

This file sets the display rules for various elements in the Firefox user interface and is located in the sub-folder called chrome in your profile folder. As with user.js, this file does not exist by default, so you need to create it before you can start adding your preferences. There’s actually an example file that exists by default, called “userChrome-example.css“. Basically, you can just rename that file by removing the “-example” part.

userContent.css

This file sets the display rules for web content and is located in the sub-folder called chrome in your profile folder. As with user.js, this file does not exist by default, so you need to create it before you can start adding your preferences. As with userChrome.css, there is an example file that exists by default, called “userContent-example.css“. Basically, you can just rename that file by removing the “-example” part.

Upcoming more on Firefox....so keep visiting.........

No comments:

Post a Comment