List of Files that can be Hacked to Configure Firefox



Following are a few files which can be edited to configure Firefox. The information has been collected from http://www.mozilla.org/.

prefs.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.

Windows Vista/Server 2008/XP/Server 2003/2000:

%AppData%\Mozilla\Firefox\Profiles\xxxxxxxx.default\

where xxxxxxxx is a random string of characters. Just type "%appdata%" in RUN dialog box and follow the above path.

Windows 95/98/Me:

%windir%\Application Data\Mozilla\Firefox\Profiles\xxxxxxxx.default\

Linux:

~/.mozilla/firefox/xxxxxxxx.default/

MacOS X:

~/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.

prefs.js

This is the main preferences file for Firefox and is located in you profile folder.

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.



This article was posted in Mozilla Firefox.

Subscribe to RSS Feed | Email Newsletter | More Articles

Related Articles

Popular Articles



5 Comments

  • Hi Vishal i have been visiting your site for the last one month and let me say dear that u r doing an excellent job by promoting knowledge to others indeed its a noble cause i appreciate u for all this yaar. i have a problem and this is, that after installing Firexfox 3 i visited a site regularly but now it can not be visited, i dont know why what happened to it now , may be some virus or something else. when i put the site in address bad is says...

    "Connection Interrupted.
    The connection to the server was reset while the page was loading.
    The network link was interrupted while negotiating a connection. Please try again"

    Plz do help me dear as i need your help badly thanks.

  • Hi Vishal

    Any file that has Firefox's kept history of web visits that can be edited ?

    Thanks

  • VG

    ^^ "places.sqlite" contains the browsed site history.

  • Thanks VG, Found my one huge 12 Mb , I can delete it but I want to edit it.Notepad can open it but unknown characters.Any GUI program for that ?
    Thanks

  • VG

    ^^ You can manually delete URLs from "History -> Show All History" option. Or you can use following add-on:

    https://addons.mozilla.org/en-US/firefox/addon/2489
    https://addons.mozilla.org/en-US/firefox/addon/420

Add a Comment

NOTE: If you can't see your comment, please be patient. It'll appear as soon as we approve it.


Create an avatar that will appear with your comment.