Strict Standards: Declaration of Walker_Comment::start_lvl() should be compatible with Walker::start_lvl(&$output) in /home/bgoodger/ on line 0

Strict Standards: Declaration of Walker_Comment::end_lvl() should be compatible with Walker::end_lvl(&$output) in /home/bgoodger/ on line 0

Strict Standards: Declaration of Walker_Comment::start_el() should be compatible with Walker::start_el(&$output) in /home/bgoodger/ on line 0

Strict Standards: Declaration of Walker_Comment::end_el() should be compatible with Walker::end_el(&$output) in /home/bgoodger/ on line 0
A Weblog by Ben Goodger

August 12, 2016


That’s Craptastic!

August 12, 2015


That’s Craptastic!

August 12, 2014


That’s Craptastic!

August 12, 2013


That’s Craptastic!

August 12, 2012


That’s Craptastic!

August 12, 2011


That’s Craptastic!

August 12, 2010

December 8, 2009

The Chrome team launched a new beta today, for the first time supporting MacOS X, Linux and Extensions. This work represents the culmination of over a year of work by a large group of folk and I’m very proud of what the team has accomplished. I want to take the opportunity to talk a little bit about extensions.

The Chrome extensions API provides users and developers with the ability to customize the browser while adhering to the Chrome core principles of speed, stability, security and simplicity.

Google Chrome extensions:

  • are easily built using regular web technology - JavaScript, HTML, CSS, etc.
  • run in their own processes so any potential issues cannot take out the entire browser.
  • built using web technology have a restricted API surface and are run within the same sandbox as browser tabs.
  • use the same automatic update system as Chrome itself, allowing developers to easily deploy new versions of their software and users to keep up to date with the latest, greatest and safest versions without having to do anything.

You can watch videos about Google Chrome extensions here.

I’ve been working on browser stuff for a while, and people sometimes find my stories interesting, so here’s a little extensions history…

Years ago, when Netscape was building Netscape 6 (its suite of browser, mail, page editor and IM client), a product requirement was that it be possible to install the browser with or without any of the “optional” components - mail, IM, editor, etc. When you installed those components “extra bits” (menu items, toolbar buttons, etc) would appear in the browser UI allowing you to launch mail, IMs, etc.

The Netscape front end was implemented in XUL, a cross platform UI language. The optional components specified things called “overlays” that allowed them to add in their “extra bits” when they were present. The optional components packaged these overlays and the other bits of their logic into “XPI” files that were installed by the install engine.

A few years later, Netscape’s successor Firefox was growing in popularity and developers were discovering that it was possible to use this component install mechanism to add other functionality to the browser. It was never really designed for consumption outside of Netscape’s own product and so not much thought had been given to what APIs should be exposed within the browser UI. It was really an internal API. So when people began making these “extensions” for Firefox, whenever Firefox changed it was possible for the extension to prevent the browser from starting. In the early days of Firefox, it wasn’t uncommon for a user who had an extension installed to see the error “no XBL binding for browser” when they upgraded to a new verison of Firefox.

It became clear that we’d have to fix this before Firefox could reach 1.0, so I put together an extension manager that offered a less hacky install/uninstall path and more importantly added versioning. Given the lack of stable APIs, the system would simply disable extensions not advertised as being compatible with the current version of the browser. This meant developers would have to certify their extension with every new version of Firefox. It wasn’t perfect and was somewhat cumbersome, but it worked, and didn’t require us to freeze a bunch of APIs which we most certainly would have botched if forced to do it in haste.

Firefox extensions have always been a double edged sword - they offer immense flexibility at the cost of forcing developers to re-certify with every browser update. When developers are late to do so, users that upgrade quickly have to do without their extension for a while, or disable the compatibility verification step at their own risk.

I think this historical note is more than just interesting for anecdotal value. If this “back door” into browser customization hadn’t existed by virtue of Netscape’s componentized install, it’s not necessarily a given that Firefox would _ever_ have had extensions. Think about that. It’s awesome that it did, because it’s a feature users love. Because it did, and because users love extensions, now we on the Google Chrome team have the luxury of developing a new API from scratch that represents what we hope is the best of both worlds - customization and Chrome’s core principles.

The Firefox experience was immensely valuable. I am not one of the engineers that has personally done a lot of work on extensions in Google Chrome, but I have enough battle scars to have some thoughts about how they should function. I am really pleased with the approach the Chrome extensions team has decided to take, and so kudos to them for getting us to this first milestone!

September 23, 2009

I was reading the comments thread on Slashdot about the new Firefox UI design. One comment referenced a mozilla bug, “418864 - Bookmark contextual dialog is not resizable.”

One comment reads: “I think it’s a poor design not to provide the user an option to [..] revert things back to the way it was before in older Firefox version.”

Regardless of whether or not the bug itself is worth fixing or not, I think this specific sentiment is actually dangerous. I’ve noticed a growing amount of it in the discussion threads surrounding Firefox UI design.

It’s dangerous because it means for every new feature or modification to the UI, the cost doubles to include a legacy code path. Over time, the effect of this is that the codebase bloats without bound, beyond the capabilities of your testing staff and quality slips. It’s dangerous because this raises the opportunity cost to explore new UI designs. As a result things change less.

What has made Chrome successful I think in UI design is that we have pushed hard to retain a consistent core vision that the team at large understands but where the design is done by a smaller core group. Glen mentioned to me once that his theory is that the more people you add to a design process the slower it becomes and the less productive output you yield. This might seem at odds with Mozilla’s “inclusive” approach to software development but I’ll just note that in the early days of Firefox the team was much smaller, and as a result could make rapid progress. There were times when various elements within the community wanted something and the answer was simply “no” - no option for the old way, no promise to support it via extensions. If you can make it work, good for you. But that’s the cost of progress.

These days, Mozilla has some talented visual designers contributing to it. The challenge for them will be to give them the creative autonomy and the ability to say “no” so that the UX aspect of the project not to get mired in quicksand.

September 15, 2009

Google Chrome 3 launched today. Congrats to everyone who contributed improvements. There are many improvements including themes - a great and easy way of adding some color to your browser!

But my favorite aspect of this launch is that it continues our commitment to ship features frequently. In the early days of Firefox, we did a preview release launch about once a quarter, and the growing community at the time loved how quickly we were making progress and the fact that they could see it so easily. This inspired us when we designed the launch process for Chrome. By focusing on tightly scoped stable releases, we are able to move quickly and deliver features to all Chrome users as quickly as possible (typically once per quarter). People interested in testing newer features can find this in the beta channel which updates roughly once a month. And those who want the bleeding edge can find the very newest features and experiments on the Dev channel, which updates once a week.

Much has been written about the joys of developing web software and how the development model allows for frequent checkpoints with your user community. By developing a seamless autoupdate system we’ve been able to simulate this with client software and as a result we enjoy many of the same benefits.

The only thing more exciting to me than this system and what it’s allowed us to do so far is what it’s going to allow us to do in the future. 2010 is going to be an exciting year!