Mozilla at FOSDEM

FOSDEM is the Free and Open Source Developers European Meeting, which has been held at the ULB in Brussels for the past few years. This year’s event is on the weekend of the 26th/27th of February. Since the beginning, the EU Mozilla group has had a developers’ room, where we have our own track of Mozilla-related talks and discussions, and there will be one this year too. A schedule is under development.

I’d encourage all European free software hackers, and particularly Mozilla developers to make an effort to come.

Firefox Roadmap

Ben notes that he has updated the Firefox 2.0 Roadmap.

This part doesn’t make sense to me:

We’re going to replace the existing nomenclature for pre-releases from alpha and beta to “Developer Preview” and “Preview Release” to more solidly differentiate them. The reason: for some time people have associated Firefox Preview – Releases with high quality and we want to make sure there are no guarantees made of any pre-release we offer. We also want to make it clear that Developer Previews in no way represent final or feature-complete code.

He seems to be saying:

  • People have historically associated “Firefox Preview Release” with high quality
  • Future preview releases may not have that quality
  • So, instead of calling them “alpha” and “beta”, we are calling them “Developer Preview” and “Preview Release”.

Surely that’s completely backwards? If they aren’t going to have the quality associated with “Preview”, we should be avoiding calling them “Preview” anything at all costs!

Or have I misunderstood?

Firefox To Change Name Again

San Francisco, 25th January 2004 – The Mozilla Foundation (NASDAQ: MOZ) announced today that its ground-breaking Firefox browser would be renamed “FoxGoo” with immediate effect.

“With lead developer Ben Goodger now being paid by Google, it seemed an ideal time to rebrand. Again.” commented Mitchell Baker, the project’s Chief Name Changer. “We feel that the name ‘FoxGoo’ more clearly represents our commitment to standards, innovation and choice of integrated search on the Internet. Well, maybe not the ‘choice’ part.”

“Google have decided that it would be much easier to get some mindshare from Firefox’s, I mean FoxGoo’s success than develop their own browser. I, for one, welcome our new non-evil search overlords”, said Asa Dotzler, the Foundation’s head of QA, Community Relations and Beard Studies.

Godzilla could not be reached for comment yesterday.

Some Clarifications Regarding about:mozilla

It has come to my attention that there is some confusion over the origin of the about:mozilla text, what exactly it refers to, and the basis of its literary style.

about:mozilla was originally an “Easter Egg” – a hidden amusing feature put into a software program unrelated to its main purpose – in version 1.1 of Netscape’s browser. These days, it’s so well known that it hardly deserves the name. The history of about:mozilla, giving the different versions of the text displayed, is well explained on Wikipedia. After a small amount of editing on my part of the section about the most recent revision, everything that page says is now true to the best of my knowledge.

The current about:mozilla text is as follows:

And so at last the beast fell and the unbelievers rejoiced. But all was not lost, for from the ash rose a great bird. The bird gazed down upon the unbelievers and cast fire and thunder upon them. For the beast had been reborn with its strength renewed, and the
followers of Mammon cowered in horror.

from The Book of Mozilla, 7:15

This text was written by Neil Deakin in the days following the split of the Mozilla Foundation from AOL. It was one of several suggested texts that we evaluated; we considered this one to be most creative, and in the spirit and style of the previous two. At my prompting, the mozilla.org staff approved the inclusion of Neil’s version in forthcoming builds. You can read the bug which documents the development process. I checked a slightly modified version into Mozilla on the 1st September, 2003, and Ben Goodger checked the same text into Firebird (as it then was) later that month.

The nature and literary style of the text may be slightly mystifying to some. To understand it fully, you need to first be aware of the influence of the King James version of the Bible on modern English culture.

The King James (or Authorised) Version of the Bible is an English translation which was first published in 1611. It is so named because King James ordered the translation to be made. For several hundred years, it was the most commonly-used English Bible. Today, it has been superceded by more accurate translations which take advantage of modern linguistic scholarship and a better knowledge of the original text.

However, the language of the King James, which today would be thought of as archaic, has had a significant impact on English-speaking culture. Even today, people often quote the Bible (perhaps unknowingly) in the King James version, or language which approximates or imitates it. For example, they might say “Judge not, lest ye be judged”, rather than “Do not judge, or you too will be judged” (Matthew 7:1).

The about:mozilla text is designed to be in the style of Biblical prophecy, such as that found in the book of Revelation, as translated in the King James version. For example: “And out of his mouth goeth a sharp sword, that with it he should smite the nations: and he shall rule them with a rod of iron: and he treadeth the winepress of the fierceness and wrath of Almighty God.” (Revelation 19:15). The fictional “Book of Mozilla” is a book of similar prophecy about the rise of “the beast” (Mozilla, who has always been a great lizard) and his triumph over the world. When great changes happen in the Mozilla project (such as the release of the original code, and the split from AOL) the text is updated with a new ‘quotation’.

The word “Mammon” is actually taken directly from the original text of the New Testament. It’s a word of Aramaic origin, meaning something like ‘riches’ or, by personification, ‘money-god’. The King James rendering of Matthew 6:24 – “You cannot serve both God and Money” – is “Ye cannot serve God and mammon“. The word is also found in other related translations, such as the American Standard Version. Mainly because of the fame of this passage in its King James form, “mammon” in still used in English today, and is taken to refer to an imaginary God of money, possessions and pleasure.

So the use of “Mammon” in the text is an oblique reference to the Bible. Just as Jesus in Matthew 6 in the King James Version contrasts serving God and serving Mammon, following the truth and following falsehood, so the quotation sets up the difference between the followers of Mozilla (those reading the Book) and the followers of Mammon (those who oppose the coming world domination of Mozilla). (Some might well associate Mammon with Microsoft; I couldn’t possibly comment on that…)

I hope this clears up some potential misunderstandings about the origins and meaning of the about:mozilla text. As a Christian who believes the Bible is the inspired Word of God, and a mozilla.org staff member and Mozilla contributor, I do not believe that there is any problem with about:mozilla from a Christian point of view. I would welcome emails from anyone who wishes to correspond with me on the subject.

A General Solution To Site Spoofing

[For those who may not know: site spoofing is when someone sets up a site and tries to get you to visit it, thinking it’s another site. So they might set up http://www.paypai.com (note lowercase I) and send you an email inviting you to visit “http://www.paypal.com” and give your login details.]

Site spoofing is a significant issue. It enhances phishing attempts, which is apparently already a hundred-million dollar industry, even according to pessimistic estimates. It’s our users who are being defrauded. And, as spam has shown, where there’s money to be made, the problem doesn’t just go away. It’s mozilla.org’s responsibility to do its best to deserve our reputation for security innovation by helping people to not be taken in. Domain name registrars who process thousands of applications per day at low margins can’t be expected to hold the fort.

However, finding a solution is hard because it involves communicating clearly and unambiguously to a novice user the tiny difference between a lowercase l and a lowercase i, and every other possible pair of confusable letters, without overwhelming them with so much confirmation and checking information that they just ignore all of it. I’m not sure that there’s a textual solution, due to the almost infinite variety of domain names and fonts, and the human tendency to assume something almost the same is in fact the same.

So here’s my idea. You hash the domain name, convert the hash into an RGB colour value, and colour some UI element that colour when you are on the site. This doesn’t provide any first-visit protection, but it does provide a one-glance check as to whether you are on the same www.paypal.com that you were last week. And sites where you have high-value logins tend to be ones you’ve visited before.

I continue to maintain that anti-phishing and anti-spoofing efforts are pointless if the true site doesn’t at least have SSL. So I suggest that, in Firefox, the background colour of the status bar field which shows the domain name would be the correct thing to change:

  • It’s semantically associated – the domain name is what’s being hashed
  • It’s part of a piece of UI (the status bar) which is always present
  • People look there on secure sites to see the name and the lock anyway.

So if users know from repeat visits that www.paypal.com is legitimate, then www.paypai.com is easily seen as bogus.

The human eye is very sensitive to colour differences; this should mitigate the fairly unlikely event of a spoof having a similar colour as the original. This scheme also has the significant advantage that it requires no user configuration whatsoever, and only minimal instructions (“Colour not the same? Be suspicious!”).

There are extra foibles like trying to vary intensity so the colourblind don’t get too left out, and limiting the colour range to make sure the text is always readable, but that’s the basic idea. For bonus points, we should use a hash function which tries to ensure that the closer two inputs are, the more different the hashes, and for extra bonus points, all browser vendors should agree on the same hash function and colour range, so www.paypal.com is light green in all browsers.

Hendrix Updated

I’ve updated Hendrix taking into account a lot of feedback which has been given. The new stylesheet is based on planet.mozilla.org’s one, and was written by KDS Sahambi – thanks to him for that. More stylesheet ideas would be welcome; just add the &stylesheet=<path> parameter to try out your own.

Please bang on it again, and let me know of any further changes you think might need making.

PalmSource contacts

Does anyone know anyone at PalmSource?

The last person to make significant contributions to the Mozilla codebase who has not given permission for relicensing was an employee of Be, Inc. So, Be needs to give permission for the relicensing. But Be got eaten by Palm, which then split into PalmSource and PalmOne!

So, who owns the copyright to the Be employee’s contributions? I think it’s probably PalmSource. So, if anyone knows anyone there I can contact to try and work out who to talk to, please let me know. It’s not a big thing, and it’s not a great deal of code – but it’s enough that it would be a hassle to rip it out and have it rewritten.

Implementing Tags

I’m writing an extension to implement a currently-unimplemented HTML tag in Mozilla/Firefox. I can’t say what it is; the smart among you may work it out, but if you do please keep it to yourselves :-)

My original plan was to define an XBL implementation of the tag and just bind it on. This plan is simple, but unfortunately it doesn’t work. Implementing the tag requires using Mozilla platform features accessed via Components.classes, and as far as I can see, there is no way of applying an XBL binding to a tag in the content area in such a way that the XBL code is privileged – even if the binding uses a chrome:// URL to bind.

So, after much head-scratching and help from Boris Zbarsky, the current, horrible implementation strategy is as follows:

  • Overlay browser.xul to add a script
  • That script registers a handler for window.onload
  • The onload handler adds a “_helper” member to the window.content.document object,
    which exposes useful methods for implementing <tag>

  • This document._helper object is visible from the content
  • Add a selector to ua.css (by appending to the file – ick) to bind my (unprivileged) binding to <tag>
  • The binding gets invoked when a <tag> is seen
  • The binding constructor also registers an onload handler, as the _helper
    object is not available at binding construction time (because the onload handler mentioned above hasn’t yet fired)

  • This onload handler eventually fires and calls methods on the now-present
    document._helper to deal with initial state of <tag>

  • Methods on the binding call methods on document._helper as necessary to deal with
    scripted changes to <tag>

What do you think? Am I insane? Is there a better way?

Possible improvements I don’t know how to do:

  1. Find a way to make the _helper object available permanently, even while the page is loading.
  2. Find a way to inject the binding rule without messing with ua.css.

Reply-To Automunging

Sometimes I have ideas for bits of software and think “that’s a great idea, but I’ll never get around to implementing it”. So, rather than let this particular one go to waste, I’m posting it here to see if someone wants to pick it up and run with it.

For many, many years there has been a flamewar between those mailing-list users who think Reply-To munging is considered harmful, and those who think it is considered useful.

For those who don’t know, Reply-To munging is when mailing list software changes the Reply-To header on list mail to point to the list. It’s a “holy war” – people have entrenched positions, no-one ever changes their mind, and it’s rare to find a list populated with solely one or the other type. I’d argue that the mungers are the majority, but maybe that’s because I’m one ;-)

Anyway, here’s the idea: a Thunderbird extension which allows you to define the behaviour of the Reply (note: not Reply All) button based on whether the email is from a mailing list or not. It would either reply to the From: address, the To: address or the Reply-To: address, depending on whether you would have preferred the list to be munged or un-munged. Here’s a little table of which header to use:

My Preference
List Is Munged

From: fred@bloggs.com
To: list@discussion.org
Reply-To: list@discussion.org

List Is Unmunged

From: fred@bloggs.com
To: list@discussion.org

I Like Munged Reply-To To (i.e. not From)
I Like Unmunged From (i.e. not Reply-To) From

So the extension would have a single bit of configuration – whether you like your lists munged or unmunged. It would then detect mailing list messages based on email headers, such as any of the List-* ones defined by RFC 2919 and RFC 2369, and make the Reply button magically do the right thing without any further hassle.

(Now, if only there were as simple a solution to the tabs-vs-spaces controversy…)

VisitorVille

VisitorVille are a Web analysis company, with the unusual ability to break down their results by company – presumably, by checking the records of which IP addresses are allocated to which organisation. They gather their data from sites within “a network of thousands of web sites” – although which sites those are isn’t immediately clear.

Although the results should be taken with a large pinch of salt, a great deal of fun can be had observing, for example, how large companies don’t really eat their own dogfood.

For example:

Fortunately, the Mozilla Foundation appears not to be in their database, so I can poke fun without potential embarrassment ;-)

Firefox and Thunderbird Integration In KDE

You would have thought this was easy, but Googling turned up nothing useful (the KDE pref some people mention is mysteriously absent on my Mandrake 10.0 install) and so it took me half an hour. Here’s the trick:

Firefox: in about:config, set:

network.protocol-handler.expose.mailto=true
network.protocol-handler.app.mailto=/path/to/thunderbird

Thunderbird: install AboutConfig, invoke it, and set:

network.protocol-handler.expose.http=true
network.protocol-handler.app.http=/path/to/firefox

This then pops up a “handle file type” dialog (not sure why) – pick the firefox executable again. This may not be the most efficient way, but it worked for me.

“Annoyed Contributor” FAQ

After a number of recent hiccups in smooth community working, here’s an “Annoyed Contributor” FAQ. [I would abbreviate Annoyed Contributor to AC, but I suspect that would cause a fair amount of confusion.]

I’m a contributor, and I’m annoyed at something a member of mozilla.org staff or employee of the Mozilla Foundation has done. What do I do?
Take it up by email with the person concerned. If you can’t get no satisfaction, and if you feel the issue is important enough, email drivers@mozilla.org for code issues, and staff@mozilla.org for other issues.

Things not to do:

  • Assume that just because a staff member has done it, it can’t be changed.
  • Stew silently for weeks, then complain loudly in some newsgroup or forum that no staff member reads.
  • Email staff@mozilla.org to complain that Ben’s tweaked the layout of the Advanced prefs dialog.
I am reading a newsgroup or forum and see some complaining by an Annoyed Contributor. What do I do?
Find out what you can do to help resolve the matter to the satisfaction of everyone concerned.

Things not to do:

  • Wade in with more inflammatory comments without understanding the whole issue.
  • Immediately make a submission to Slashdot or some other news website.
I work for a news organisation or website and I get a submission pointing out some complaining by an Annoyed Contributor. What do I do?
Find out the truth of the matter from all sides before deciding whether it’s worth posting.

Things not to do:

  • Immediately post the article, with an “Unrest in the Mozilla Project” headline, thereby making the issue far bigger than it actually is.

Note: any resemblance of situations in this FAQ to actual incidents, living or dead, is possibly coincidental.

New Firefox Preferences Window

Ben is designing a new preferences window for Firefox. This is a great idea – the current pref window, while a vast improvement on the Mozilla/Netscape 4.x style, is still a little hard to get to grips with. As he doesn’t have comments on his blog, I have to trackback to give UI feedback, so here it is:

  • The old pref window has the high-level selector down the side. The new one has moved it to the top, which is more reminiscent of tabs, but the styling is still not tab-like. If you are going to change the orientation, why not go the whole hog and take advantage of the user familiarity with tabs by styling them appropriately? They can still be big, square and iconic – I’m not suggesting going back to just text.
  • I initially thought that the “Sanitise Settings” button was a command – it sanitised your settings, in other words it emptied your cache and history and so on.
  • A recent trend has been to reduce the number of top-level categories, perhaps to reduce the perceived complexity of the interface. However, this has just pushed the complexity down into the panels themselves, so each panel has sub-selectors of different types. In the screenshot, you have the sub-selector down the left as one type, and then View Cookies, Exceptions and Sanitise Settings presumably either change the pane or pop up another window – these are therefore another type. I’m not convinced that complexity has actually been reduced by this trend. We might produce a more understandable UI by reducing the pressure on the high-level category count.

Firefox “A Rip Off”: Official

As my email address is in several places on mozilla.org, and I also run the licensing@mozilla.org mailing list, I get a fair amount of mail asking for support for Firefox or Thunderbird. (This is despite Before You Mail Gerv, which probably needs updating for this issue.) Usually, I redirect people to the support page, and hear nothing more. But one guy recently responded to that with:

OH, I see, your about as helpful as the BS website you are referring me too. You both must be wanting money before you can do anything…what a rip off.

Leaving the personal abuse aside, it’s amazing to me that someone can say that something they downloaded for no cost is “a rip off”…