Firefox 4 Classic User Interface

Firefox 4 features a newly designed user interface, and it looks more like the Google Chrome browser now. The new design saves a lot of on-screen real estate and is good for a laptop screen. However, you might not like the new design- instead, you want the classic look back. Fortunately, it’s not difficult to revert to the original design. Here are the steps:

  1. Right click on the toolbar to bring up a context menu. We will use this context menu exclusively for our classic UI.
  2. Check Menu Bar to enable it.
  3. Right click on the toolbar and check Bookmarks Toolbar to enable it.
  4. Right click on the toolbar and check Add-on Bar to enable it.
  5. Right click on the toolbar and uncheck Tabs on Top to disable it.
  6. Right click on the toolbar and click on Customize to customize the Navigation Toolbar. You can then select the buttons on the toolbar and rearrange them. I moved the Home, Refresh and Stop buttons to the left side. Click on Done when you are finished.

Here is a screenshot of the original Firefox 4 UI.

Here is a screenshot of the classic UI after customization.

Google Sites Redirecting Problem on Firefox

I was working on a site hosted by Google Sites today. After I logged on between several gmail accounts, the Firefox went through an endless redirecting loop whenever I tried to visit Google Sites. I suspected the problem was related to cookies or cache, so I used the Clear Recent History option under Tools menu to clear them. Afterward, I was able to visit Google Sites normally again.

Firefox: Ask.com Hijack

When I tried out some software, I accidentally installed the Ask.com toolbar for Firefox. While the toolbar is easy to uninstall, there are some hidden settings which were also changed by the installer. For example, if I entered some words in the address bar and pressed enter, Firefox would redirect the page to Ask.com and show the search results. I found this quite annoying.

To restore the default settings, follow these steps:

  1. Enter about:config in the address bar and press enter. Click on I’ll be careful, I promise! to skip the warning.
  2. Enter Ask in the Filter box and press enter to filter the preferences.
  3. There are 4 preferences that were changed:
    browser.search.defaultenginename
    browser.search.order.1
    extensions.snipit.chromeURL
    keyword.URL
  4. Right click on each of the four preferences, and select Reset to reset them to default.
  5. Restart Firefox.

How to Diable Firefox’s Virus Scanning

A feature of Firefox is that it calls your Anti Virus program to scan the downloaded files automatically upon completion of the download process. This feature is nice that it adds an additional layer of protection. However, there are times when you want to disable it. I was downloading a huge file from a trusted source. After the downloading was done, Firefox froze while the file was scanned. It took me a while to kill the crashed Firefox process.

There is no option to disable this feature in the Options dialog. You have to use the configuration editor. Here are the steps:

  1. Enter about:config in the address bar and press Enter key. You might see a warning dialog. Click on I’ll be careful, I promise! to continue.
  2. Enter scanWhenDone in the Filter box. Notice the the preference name browser.download.manager.scanWhenDone is set to the default value true.
  3. Double click on the preference and it changes to false.
  4. Close Firefox. The next time you use Firefox to download files, it won’t scan the files.

Once you have downloaded those files that have problems with scanning, you might want to enable this feature again.

Run As Dialog with Firefox

firefox-runasI got a message from one of my users about Firefox this morning. The problem is that he gets a Run As dialog every time he opens Firefox. It’s kinda annoying. I thought it might be a virus or a trojan. The cause is actually harmless.

Every time Firefox opens up, the automatic update kicks in and tries to update itself. Because the user doesn’t have administrator privilege, the update fails and it prompts the user to enter a different credential. The fix is quite easy. Just update Firefox to the latest version. You can also turn off the automatic update. Therefore, you can install the updates when you see fit and the user won’t see the annoying pops up again.

Python Script to Download Latest FireFox Automatically

In the past, I usually downloaded the latest FireFox manually for setting up machines. It’s kinda tedius and I finally decided to write a script to do it automatically. Here is the code. Note that the site doesn’t not get updated frequently. For example, the latest FireFox 3.0.4 didn’t appear at the site several days after it’s available to public. I have also modified it to download Thunderbird without a problem.

FTP_SITE = 'releases.mozilla.org'
REMOTE_DIR = '/pub/mozilla.org/firefox/releases/latest/win32/en-US/'
LOCAL_DIR = 'c:/Software/firefox/'
FILE_MASK = '*.exe'

from ftplib import FTP
import os

def handleDownload(block):
    downloaded_file.write(block)

ftp = FTP(FTP_SITE)
ftp.connect()
ftp.login('anonymous')
remote_files = ftp.nlst(REMOTE_DIR + FILE_MASK)
newestfilename = os.path.basename(remote_files[0])

if not os.path.exists(LOCAL_DIR + newestfilename):
    downloaded_file = open(LOCAL_DIR + newestfilename, 'wb')
    ftp.retrbinary('RETR ' + REMOTE_DIR + newestfilename , handleDownload)
    downloaded_file.close()

ftp.close()

Translator

English flagItalian flagKorean flagChinese (Simplified) flagChinese (Traditional) flagPortuguese flagGerman flagFrench flagSpanish flagJapanese flagArabic flagRussian flagGreek flagDutch flagBulgarian flagCzech flagHindi flagRomanian flagSwedish flagHebrew flagHungarian flag

Archives