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:
- It will be out of date soon.
- I don’t want to deal with hosting it.
- 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.
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.
- Download the page-speed.xpi and save it locally on your machine. Direct Link
- Rename the file from “page-speed.xpi” to “page-speed.zip”.
- Un-archive the zip, aka unzip. This creates a directory called “page-speed”.
- Navigate to “page-speed” directory.
- Edit “install.rd” with your favorite text editor.
- Search for “3.0.*”
- Change to “3.5.*”
- Save the “install.rdf” file.
- 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.
- 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.
- Rename “archive.zip” to “page-speed.xpi”.
- 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.
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.