Firefox Enterprise Working Group Meeting Coming Up

We’re planning our second call for Wednesday, August 8th at 10:00am Pacific, 1:00pm Eastern, 17:00 UTC. Here’s the meeting details:

  • 650-903-0800 or 650-215-1282 x91 Conf# 280 (US/INTL)
  • 1-800-707-2533 (pin 369) Conf# 280 (US)
  • IRC - - #ewg

The theme is "Wishlist." We are hoping to get people to talk about what they think is missing from Firefox to make it work better for enterprises and institutions. Please feel free to update the Wishlist page before the call.

You can also take a look at the Firefox Enteprise Working Group wiki.

Note we will be recording this call so you can listen later if you can't attend.

SIMILE Actions for Operator

So far, actions for Operator have focused on exporting data or connecting to an existing web service. Rosie Morales from MITRE has shown that actions can do much more interesting things, like actually create new views of the microformats by saving the data to a local file and displaying it. These actions are based on the Simile project.

Note these actions only work properly with Operator 0.8b.

The Simile Timeline action is an action that acts on all events on a web page. It creates a local file that contains a Simile Timeline representation of the data and then displays it.

The Exhibit Timeline action is an action that acts on all events on a web page. It creates a local file that contains a Exhibit Timeline representation of the data and then displays it.

The Exhibit action is an action that acts on all contacts on a web page or one contact on a web page. It creates a local file that contains a Exhibit representation of the data and then displays it.

I will be documenting how you can create an action that acts on all instances of a given microformat very soon.

Manually Repackaging the Firefox Installer on Windows

One of the things I've alluded to in a few posts but failed to actually post is how to manually repackage a Firefox 2 installer on Windows. This post will remedy that situation.

We have documented at least three different cases where we would need to manually repackage the installer (cases where the Firefox Release Repackager won't work). These cases included packaging more than two extensions, needing to update the list of files that are removed by the installer and most recently, replacing setup.exe with a rebranded version. Let's talk about how we can manually repackage the installer.

First thing is to download the installer we want to repackage and unzip it using 7-Zip. For our example, we'll use Firefox Create a directory and then download Firefox Setup Execute the following command to extract the contents of the file:

7z x "Firefox Setup"

This will unpack the contents into the directory. After you have unpacked the file, move "Firefox Setup" into a different directory or remove it.

Next we make the updates we want to make, such as replacing setup.exe, changing removed-files.log or adding additional extensions. After we've made our changes, we want to repackage the files into a 7-Zip archive.

7z a -r -t7z app.7z -mx -m0=BCJ2 -m1=LZMA:d24 -m2=LZMA:d19 -m3=LZMA:d19 -mb0:1 -mb0s1:2 -mb0s2:3

This will create a file called app.7z that contains our files. Note that I can't tell you what all those parameters do - those are copied directly from the Firefox build scripts.

For the next step, we'll need to download a file and create a file. We need to download 7zSD.sfx which is the self-extracting installer. You can download it here. Then we need to create a file called app.tag that looks like this:

Title="Our New Name"

app.tag is used to tell the self extracting installer what file to run after the files are extracted. I'm not sure what "Title" is used for.

Now that we have all the files, we can actually create the installer:

copy /B 7zSD.sfx+app.tag+app.7z our_new_installer.exe

The "/B" is very important! It tells copy that these are binary files so it doesn't add extra characters to the files.

And that's it. We now have a self extracting installer with our customizations.

Firefox Enterprise Working Group Call Reminder

Just a reminder that we will be having our first Firefox Enterprise Working Group call tomorrow. The theme is "experience." Here's the meeting details:

Wednesday, July 25 at 10:00am Pacific, 1:00pm Eastern, 17:00 UTC.

Call-in information:

  • 650-903-0800 or 650-215-1282 x91 Conf# 280 (US/INTL)
  • 1-800-707-2533 (pin 369) Conf# 280 (US)

We'll also have a "backchannel" for people to talk on irc if they want - - #ewg

Please don't feel like you need to be involved in an "enterprise" in order to participate. We're expecting folks involved in enterprises, educational institutions, and more.

Please update the wiki if you can with your participation. As pointed out earlier, you can be as anonymous as you want. The wiki is at

We look forward to your participation!

Operator and hAudio

One of the cool things that you can do with Operator is experiment with new microformats. The folks at Digital Bazaar and others have been working on an hAudio microformat and David Lehn has created some experimental Operator User Scripts for you to try out. hAudio.js contains the primary microformat. money.js is used to allow actions on currencies.

You can try out these microformats on the site Bitmunk, as well as WebOrganics

Rebranding the Firefox Installer

Updated files for Firefox are available here.

One of the other extensions I've written is the Rebrand extension. This extension allows you to rebrand Firefox to whatever you want just by installing an extension. A question I often get asked by people that use this extension is whether or not it is possible to rebrand the installer. This post will provide instructions on how to rebrand the Firefox 2 installer. In particular, we are going to create a new customized setup.exe that can be used with the instructions in this post. Basically you unpack the installer and simply replace setup.exe with the new one we will create.

The installer for Firefox 2 is based on the Nullsoft Scriptable Install System so first we need to install NSIS.

To actually customize the installer, we need the original files that were used to create the installer. I have packaged the files from a non branded Firefox for you. That means the files show "Bon Echo" instead of "Firefox" and the images are just a globe (no Firefox). You can download them here. After you download the package, unzip it into a directory and we're ready to go.

Here are the files we'll need to change.

  • license.rtf - This is the license agreement that must be agreed to by the user during the install. You'll need to replace it with your own RTF file containing a license. If you do not want or need the user to agree to a license agreement, you can comment out the line:

    !insertmacro MUI_PAGE_LICENSE license.rtf

    in installer.nsi.
  • branding.nsi - This file contains most of the text changes you'll make, including name of your browser and your company.
  • wizHeader.bmp - This image is at the top of right of every page in the installer.
  • wizWatermark.bmp - This image is on the first page of the installer.
  • defines.nsi - This file contains some version specific strings, so it will need to be changed as you move to different versions of the Firefox source code. It will also need to be changed if you change the name of the executable.
  • version.nsh - Unfortunately the installer folks didn't do a good job of keeping branding strings just in branding.nsi, so there are a few miscellaneous things you might want to change here.

Now that we've customized the files, it's time to build the installer. To do this, we'll use one of the tools that came with NSIS, makensis.exe.

makensis installer.nsi

If we did things correctly, the result of this command should be a new setup.exe that contains all of our customizations. You can test this immediately by just running setup.exe and seeing if it contains your customizations.

There's not a quick and easy way to integrate this setup.exe into the Firefox packaging, so for now my recommendation is to unpack a Firefox 2 installer using 7-Zip and simply replace setup.exe with the new one you just created. Once I get the information on manually repackaging Firefox, I'll post it.

Note that this is a new process I've just put together, so please let me know if I've missed anything or if you have problems.

Firefox Enterprise Working Group Update

Fixed Eastern time - sorry about that.

I wanted to give an update on where we are with the Enterprise Working Group. We're planning our first call for Wednesday, July 25 at 10:00am Pacific, 1:00pm Eastern, 17:00 UTC. Here's the meeting details:

  • 650-903-0800 or 650-215-1282 x91 Conf# 280 (US/INTL)
  • 1-800-707-2533 (pin 369) Conf# 280 (US)

Please don't feel like you need to be involved in an "enterprise" in order to participate. We're expecting folks involved in enterprises, education institutions, and more.

Each of the calls will be organized around a central theme, with the primary goal being to simply communicate information and document that information, in the hopes that people inside and outside the group can learn from our experiences. For the first call, the theme is going to be "Experience" and I'm hoping to get people to talk about what their experiences have been so far, not just with deploying Firefox but with communication around Firefox within their organization, including convincing people that it's important. The theme of the next call (in approximately two weeks) is going to be "Wishlist" and we'll talk about what people see missing from Firefox for enterprise deployment. If you definitely want to speak about your experience on the call, you can email me in advance at with your name and a summary and I'll make sure you can share your experience. That will help things move along on the calll

Our plan on the calls is to allow for completely anonymous participation with regards to the company/institution for which you work. We understand that there is the potential for sensitive information to be shared, so no one is required to share their affiliation on the phone call or in any documents produced by the Firefox Enterprise Working Group unless they choose to do so. We will probably come up with some generic way to categorize companies like based on employee count or something like that, primarily so that companies with similar deployment situations can work together.

The wiki is going to be hosted at We'll also be starting a blog specific to the group.

We look forward to your participation!

Incidentally, we already have someone that will participate in the Firefox Enterprise Working Group that is blogging. Check it out here.

Writing User Scripts for Operator

I think the APIs in Operator 0.8b have settled down enough that I can start to document how to write user scripts. Note these user scripts are for Operator, NOT for Firefox 3. How things will work in Firefox 3 hasn't been decided yet. And I am working very hard to make this the final API for Operator 1.0.

What are Operator User Scripts?

Operator user scripts are user added pieces of JavaScript that can enable additional functionality within Operator like new actions for microformats and RDF, as well as adding new microformats. Examples can be found on the Operator User Scripts page. User scripts are added to Operator by opening Options and selecting the User Scripts tab. You can then select a user script that has been saved to your local hard drive. People have asked why I don't allow user scripts to be installed directly from the web similar to Greasemonkey scripts. There are two reasons. First, the code to do that detection is licensed under GPL, so I can't just take it and put it in Operator. Second, Operator user scripts operate with the same security privileges as an extension so they can pretty much do anything they want. That's not something you want to install in a drive by situation.

Writing a User Scripts

I'm going to have separate pages for the user script documentation, rather than using posts. The first one is here - Creating a Microformat Action User Script (Basic). As always, I appreciate feedback, especially from folks that have already written actions. And speaking of actions, we have some new ones to add to the list:


Operator 0.8b is Available

I have made a beta of Operator 0.8 available. Continued thanks to Elias Torres for the RDFa support.

Operator 0.8b adds a much requested feature - an operator icon on the location bar. It's not perfect yet, but it is there. Also, I updated the action API a little bit to allow for the naming of actions as well as having actions act on multiple properties in a microformat. For instance, in the past, the "Goto web page" action only worked for the first URL in an hCard. Now it will work for all the URLs.

The other big fix in this release was that there were cases where sorting/removing duplicates didn't work correctly. For action developers, I added the ability to have multiple translations of an action in one action. I'll document that soon.

All the caveats from Operator 0.8a apply, so please read them.

Please report bugs here.

Have fun.

New Actions for Operator 0.8

I know I've been slacking on posting information on how to create actions for Operator 0.8. I've been tweaking the API a little bit, so that's why I've been hesitant. Operator 0.8 beta will be very soon, and then I'll post a tutorial on creating actions.

In the mean time, I have been working with a few folks to get their actions working on Operator 0.8.

  • The Minimap Addon gives you a suite of built-in maps and mapping tools for your web browser. And it also supports integration with Operator.
  • Egon Willighagen is using RDFa combined with an Operator action to allow for searching PubChem from the Chemical Blogspace. More information is available in his post.
  • Søren Johannessen has updated his actions for the Danish Blogosphere for Operator 0.8. You can read about them and download them at
  • Pelle Wessman has updated his actions for the Swedish Blogosphere for Operator 0.8. You can read about them and download them at
  • Charl van Niekerk has created actions for the African Blogosphere for Operator 0.8. You can read about them and download them at

And I've been adding/updating some of my user scripts. These include support for the license microformat, as well as some improvements to species.

Incidentally, the improvements to the action API will NOT break actions already written for Operator 0.8. The improvements include the ability to translate your actions into other languages, the ability to customize the name that appears for your action in the Operator dropdowns and the ability to have multiple items in the action menu for something that appears multiple times in a microformat. For instance, in the past, even if an hCard had multiple web pages, there was only one action that opened the first web page. Now an action can detect the multiple web pages and display unique action names for each of them.

Stay tuned!