Install Google Page Speed into Firefox 3.5 Beta

The Goal – Get Page Speed Running on Firefox3.5 Beta I’ve been using Firefox3.5b as my primary browser more frequently because its just damned faster than FF3.0. I’m also a front-end engineer and my life online isn’t complete without Firebug. So I installed that, and on a whim wanted to install Google’s Page Speed Firebug extension. Except it wouldn’t. You probably aren’t reading this unless you know what Page Speed is already, but if you don’t and want to know more visit http://code.google.com/speed/page-speed/. Needless to say, I got this running. Kinda. Page Speed has some “bugs” in FF3.5 right now. This is simply a write-up on how to get it installed right now. This document will likely be out of date in a couple months.

Also, I am not providing a download for my modified Page Speed extension because:

  1. It will be out of date soon.
  2. I don’t want to deal with hosting it.
  3. And I don’t want to deal with comments from people who just install it and get any of the errors that result. This is just a how-to.

What’s Needed

You need Firefox 3.5 Beta. Go here.

You need Firebug 1.4 Beta. Go here.

You need Page Speed. Go here.

Install the Firefox 3.5 Beta. When you get that going, install the Firebug 1.4 Beta extension.

STOP HERE. READ ON FIRST.

The Problem – Page Speed Isn’t Designed For Firefox 3.5 Beta

After I got this going, Page Speed was giving some errors. Basically, it looks like the page performance tab works just fine, but the page speed activity tab doesn’t. And it produces some errors. Oh well, lets continue.

What we’re doing is increasing the “maxVersion” value in the page-speed.xpi extension to allow FF3.5 to install it.

Steps

  1. Download the page-speed.xpi and save it locally on your machine. Direct Link
  2. Rename the file from “page-speed.xpi” to “page-speed.zip”.
  3. Un-archive the zip, aka unzip. This creates a directory called “page-speed”.
  4. Navigate to “page-speed” directory.
  5. Edit “install.rd” with your favorite text editor.
  6. Search for “3.0.*”
  7. Change to “3.5.*”
  8. Save the “install.rdf” file.
  9. On a Mac, select all of the contents of the page-speed directory, right-click and choose “Compress 6 items”. This creates “archive.zip” in the page-speed directory.
  10. Are you on Windows? I’m sure the steps are similar. You really should just get a Mac, because “I’m a Megan”, not a piece of under-performing commodity hardware with an over-priced OS and no quality pre-installed software.
  11. Rename “archive.zip” to “page-speed.xpi”.
  12. Drag the new “page-speed.xpi” into any open Firefox 3.5 Beta window and you should get the extension install dialogs. A restart of the browser is required after installation.

If you get an error like: “Error: Firefox could not install the file at because: Install script not found -204″ its because you created the archive wrong. See notes from above.

After Installation

Assuming everything went well, you should now have Page Speed available in Firebug. In my testing, the Page Speed tab works great. However, the Page Speed Activity tab generates some errors and won’t run. I have no idea or ambition to fix this particular problem. Maybe someone more outgoing than I am can come up with a fix for this.

Leave a Reply

Your email address will not be published. Required fields are marked *