Blog Best Viewed In Mozilla FireFox



Editing Configuration Files
5 November 2006

Many of the tips and tricks mentioned on this site require you to edit configuration files for Firefox. There are three files that you should know about:

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 or Texturizer on Windows and gedit or kate on Linux.
Locate your profile folder

Before the configuration files are presented, you should know how to find your profile folder, which is where Firefox saves all your settings on your hard drive.

* On Windows XP/2000, the path is usually %AppData%\Mozilla\Firefox\Profiles\xxxxxxxx.default\, where xxxxxxxx is a random string of 8 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 Mac OS X, the path is usually ~/Library/Application Support/Firefox/Profiles/xxxxxxxx.default/

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

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

Windows users: If you know how to create a file, just skip this section. Before you can create the file, you must make sure that you can see the file type extensions in Windows. Start Explorer (just click on the My Computer icon on your desktop) and select Tools > Folder Options.... Click the View tab and uncheck the Hide extensions for known file types option. Now, go to your profile folder and select File > New > Text Document. The default name New Text Document.txt should be displayed. Change the name to user.js (click Yes on the file type warning that appears).

Linux users: I assume that you know how to create a file if you're running Linux. Just create user.js in your profile folder.

It's also possible to edit the preferences normally stored in user.js by entering about:config in the address bar and press Enter. You will see a list of all available preferences in Firefox (many of them are derived from Mozilla and are not used but not yet removed). Double-click on a preference to change its value. The changes you make here will be immediately stored in prefs.js, which is a file automatically generated by Firefox.
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.

Labels:




Computers Blogs - Blog Top Sites Computers Blogs - Blog FlareMy Blog DirectoryPage copy protected against web site content infringement by Copyscape



BookMark me:||del.icio.us || Digg it || Furl || Google || Spurl || Yahoo MyWeb
 
posted by VaTsAl at 7:03 am | Permalink 0 comments
popup blocking

It turns out that some clever people figured out that you could launch popups from Flash, getting around the Firefox default settings.

Fortunately, you can get around it:

1. Type about:config into the Firefox location bar.
2. Right-click on the page and select New and then Integer.
3. Name it privacy.popups.disable_from_plugins
4. Set the value to 2.

The possible values are:

* 0: Allow all popups from plugins.
* 1: Allow popups, but limit them to dom.popup_maximum.
* 2: Block popups from plugins.
* 3: Block popups from plugins, even on whitelisted sites.

Labels:




Computers Blogs - Blog Top Sites Computers Blogs - Blog FlareMy Blog DirectoryPage copy protected against web site content infringement by Copyscape



BookMark me:||del.icio.us || Digg it || Furl || Google || Spurl || Yahoo MyWeb
 
posted by VaTsAl at 6:57 am | Permalink 0 comments
Speeding up browsing speed in mozilla

useful guide on speeding up firefox for broadband users. basically after getting to the hidden config settings you set the browser to request more data that it usually does.

1.Type "about:config" into the address bar and hit return. Scroll down and look for the following entries:

network.http.pipelining network.http.proxy.pipelining network.http.pipelining.maxrequests

Normally the browser will make one request to a web page at a time. When you enable pipelining it will make several at once, which really speeds up page loading.

2. Alter the entries as follows:

Set "network.http.pipelining" to "true"

Set "network.http.proxy.pipelining" to "true"

Set "network.http.pipelining.maxrequests" to some number like 30. This means it will make 30 requests at once.

3. Lastly right-click anywhere and select New-> Integer. Name it "nglayout.initialpaint.delay" and set its value to "0". This value is the amount of time the browser waits before it acts on information it receives.


If you're using a broadband connection you'll load pages MUCH faster now!

+

Starting in Firefox 2.0, The option to block third-party cookies has been removed from the user interface [1]. Firefox 2.0 users who wish to limit allowed cookies to those set by the originating website can use about:config to modify the preference network.cookie.cookieBehavior to "1"

Labels:




Computers Blogs - Blog Top Sites Computers Blogs - Blog FlareMy Blog DirectoryPage copy protected against web site content infringement by Copyscape



BookMark me:||del.icio.us || Digg it || Furl || Google || Spurl || Yahoo MyWeb
 
posted by VaTsAl at 6:56 am | Permalink 0 comments