Wednesday, November 22, 2006
7 Google Reader Tips and Tricks
There are several online and offline RSS aggregators. Personally, there is one RSS aggregator which stands out from the rest. You might have already guessed it. It's Google Reader. Google Reader is still in beta but it works and feels like a polished application. The official Google Reader website has a number of tips and tweaks on how to get the most out of it. Another Google Reader aficionado has taken the time to highlight some of his favorite tips on Google Reader.
Monday, November 06, 2006
Editing Firefox Configuration For Improve Performance and Usability
Firefox has many praise worthy features. But, one which stands out above the rest is its ability to be customized. Use the all powerful about:config to optimize Firefox performance and usability. To edit Firefox's configuration, create a new tab and type "about:config" (without the quotation marks) in to the address bar > [Enter]. Below, I have included my favorite tweaks with links to the references for each tweak.
- Disable Third Party Cookies: There are many legitimate reasons to use cookies, such as saving passwords on login websites and saving user's preferences for a website. However, there are many reasons why you wouldn't want to use cookies, such as tracking cookies which record your movements on the Internet. Here is a tweak to accept cookies from the originating website but to block third party cookies (link). Third party cookies are usually cookies left behind by advertising companies which sponsor the website. You may choose to block all cookies but, be careful, many websites require cookies. Enter "network.cookie.cookieBehavior" (without the quotation marks). Set the value to "0" to accept all cookies. Set the value to "1" to accept cookies only from the originating website. Set the value to "2" to block all cookies.
- Disable Prefetch: Firefox has a prefetch feature which tries to anticipate which links you might want to go to and it downloads those webpages (link). You can disable this feature and download only those webpages in which you want. Enter "network.prefetch-next" and toggle it to "false."
- Enable Pipelining: Pipelining is a relatively new technology (link). Normally, a web browser will send only one request to a website's server. In addition, it will wait until it receives a response from the server before continuing. With pipelining, multiple requests are made and the browser does not wait for a response from the server. This cuts down on the time it takes to load a webpage; however, not all web servers support pipelining and you might experience problems using it. To enable pipelining, enter "network.http.pipelining" and toggle it to "true." Do the same for "network.http.proxy.pipelining."
- Increase the Maximum Number of Connections: This tweak is more for those who have a broadband connection. It doesn't work well with dial-up and it may even be detrimental. In Firefox, you can open several simultaneous HTTP connections (link). By default, the number of connections is set to "24." I recommend increasing it to "40." If you notice Firefox takes longer to load a webpage, back it down to "32." To change the value, enter "network.http.max-connections" and select modify to change it.
- Increase the Maximum Number of Connections per Server: This is a continuation of setting maximum number of HTTP connects. However, in this case, it is the maximum number of HTTP connection to a single web server. The default value is set to "8." But, you can increase the value to "16." To change the value, enter "network.http.max-connections-per-server" and select modify to change it.
- Disable Trim on Minimize: If there is one thing Firefox fans have to complain about, it is memory leak in Firefox. There are a number of items which causes Firefox to use an enormous amount of memory. First, Firefox caches webpages as you surf the net. Caching allows for faster reloading of previous viewed webpages. The more caching results in more memory used. Second, many Firefox extensions can cause memory leaks(link). Firefox's trim on minimize is one way Firefox tries to curb memory usage. When you minimize Firefox, the memory used is "trimmed" (i.e. reduced to 10MB). However, the juggling of memory during maximize and minimize Firefox deceases performance. To disable trim on minimize, enter "config.trim_on_minimize" and toggle it to "false."
- Optimize Page Rendering: Firefox, by default, waits 250 milliseconds (i.e. 0.25 seconds) before rendering a webpage (link). You can decrease this time to "0." To change the value, enter "nglayout.initialpaint.delay" and set the value to "0."
- Increase the Disk Cache: Firefox uses two types of caches. They are the disk cache and the memory cache. Many of you are familiar with the disk cache which stores webpage content for faster retrieval. By default, the disk cache is set to 50MB. You can increase the disk cache to store more webpage content (link). This is especially useful if you use the same websites over and over again. You do not need to edit the configuration to change the disk cache. Instead, go to the menu bar > tools > options >advanced > network tab > under cache, increase the cache to "100MB."
- Increase the Memory Cache: While the disk cache is saved on to your hard drive and is accessible until it is deleted, memory cache is cleared when you exit Firefox. You can significantly increase Firefox performance by increasing the memory cache. However, you run in to the same old problem, Firefox using too much memory. If you have at least 512MB of RAM, increase the memory cache to "64MB." To change the memory cache, enter "browser.cache.memory.capacity" and change the value to "65536."
- Disable Firefox's Anti-Phishing feature: Some of you might have noticed Firefox 2.0 is significantly slower than Firefox 1.5x in loading a webpage. This because of Firefox 2.0 new anti-phishing security feature. Before loading a new webpage, Firefox matches the webpage you trying to load to a blacklist of know malicious websites. If the webpage does not appear on the blacklist then Firefox will load the webpage. If not, Firefox will display a warning that the webpage you are trying to load is suspicious and might be a malicious site. The process of matching the webpage to the blacklist slows Firefox. If you are confident that you only view safe websites, there is really no need for this security feature. You do not need to use about:config to disable it. Instead, go to the menu bar > tools > options > security and uncheck "Tell me if the site I'm visiting is a suspected forgery" > [O.K.]. (link)
Thursday, October 26, 2006
Make Firefox 1.5x extensions work in Firefox 2.x.
Make Firefox 1.5x extensions work in Firefox 2.x. As many of you know, Firefox 2.0 was released this Tuesday, October 24th. Unfortunately, as with previous major updates to Firefox, many of the extensions do not work in Firefox 2.0. However, it is relatively easy to edit the extension so take it can work in Firefox 2.0. Here is how to do it. First, set Windows to show file type extension. Open Windows Explorer. From the menu bar, choose Tools > Folder Options > “View” tab > scroll down to “Hide extensions for known file types” > if it is not already unchecked then uncheck it now. Now, choose an extension you want to edit. Right click it and choose “Rename.” Change the file type extension from .xpi to .zip and click [O.K.] when Windows ask if you are sure you want to change the file type. By the way, .xpi is an archival file type, much like .zip or .rar. Once you have renamed the extension, unzip the new file. You can use WinZip , a shareware, 7-Zip , a freeware, or any unzipping application. Once unzipped, there should be 2 folders and 2 files. You are going to edit the file “install.rdf.” Right click the file and choose “Rename.” This time, change the file type extension from .rdf to .txt. Use Notepad to open the newly created .txt file. There are several lines; scroll down until you see the following line:
In this case, the extension is set to work with Firefox 1.6 and older versions. Edit the line by changing the max version to 2.0. So, it should look like this:
Save the file and exit Notepad. Now, you need to do everything backwards. Change the .txt file back to .rdf file type. Next, create a new .zip file which contains the 2 folders and 2 files. Once you have the .zip file, change it back to .xpi. Now, you can install this new extension on Firefox 2.0.
Sunday, October 22, 2006
Learn How to Block Access to Selected Websites
Blocking access to websites is nothing new. For example, you can use Internet Explorer’s content advisor to block access to websites with objectionable content (e.g. pornography, gambling, etc.). But, how to block access to specific websites, not based on content, is not so straightforward. For example, how would a mother with a teenager daughter block access to MySpace? Well, one way is to edit the hosts file. I have written about Windows hosts file in the past. If you are not familiar with the hosts file then read through the article before proceeding.
How does editing the hosts file block websites? Well, Windows always searches the hosts file for a website’s IP address before searching for it on a DNS server. If you change the IP address of an URL, you essentially redirect the web browser to that assigned IP address. A computer’s IP address is 127.0.0.1 (a.k.a localhost). Whenever you change an URL’s IP address to 127.0.0.1, you redirect your web browser back to itself. In other words, it leads to a dead end.
First, create a system restore point just in case things go wrong. Next, you need to download Hoster, a free hosts file manager. Hoster does not need to be installed. Instead, just double click the .exe file and it will launch the manager. Hoster is divided in to two panels. The left panel displays the hosts file, while the controls are on the right panel. If the hosts file is marked as read-only, click [Make Hosts Writable?]. You can make a backup of the original hosts file by clicking [Create Backup Hosts File]. By default, the backup will be saved to the folder which contains the hoster.exe file. Now, you are ready to edit the hosts file. In the blank box, enter the URL of the website you want to block and click [Add to Hosts File]. For example, if you want to block MySpace then you would enter www.myspace.com (without the quotation marks). Repeat these two steps to enter additional sites to be blocked. When you are finished, just exit the program. It is that easy.
Wednesday, September 27, 2006
Create a Desktop Shortcut to Your Favorite Website
Follow these steps:
1. Right click any empty space on the desktop.
2. From the menu, choose New > Shortcut.
3. For "Type in the location of the item:" enter the URL of the website. For example, Yahoo! Mail enter "http://mail.yahoo.com" (without the quotation marks) > [Next] > enter a name for the shortcut > [Finish].
4. Double click the shortcut icon to go directly to the website using your default web browser.