Astroturfing?

Asa and blake recently started a drive to get Firefox users to tell c|net what they think of the browser.

aebrahim suggested that this activity counts as astroturfing. I’m not sure I agree – astroturfing is artificial grassroots – ours are genuine. :-)

But I do think I have found a case of astroturfing. This article encouraging people to switch to Firefox was apparently written by a “Paul Corkery”. But, have a look, and tell me – haven’t we seen this face before?

Asa Dotzler Paul Corkery

Are they related? I think we should be told.

Gecko Market Share

The browser market share graph in the latest Google Zeitgeist for May shows a significant uptick in the “Netscape 5.x+ (incl. Mozilla)” line.

The graph has no scale, so we have to do a bit of work to figure out what the numerical percentage is. Assuming that all the figures add up to roughly 100%, then 100% is about 140 pixels. Our line is at 7 pixels (up from 5.5 pixels a couple of months ago), implying a 5% market share. IE 6 has about 75%. The other players who register on the graph, IE 5.5 and 5.0, are falling steadily.

Taking a conservative estimate of 300 million web users, and assuming they are all equally likely to use Google, that means 15 million people are using Gecko-based browsers.

I predict that a major driver moving people to Firefox will be the latest round of bank-specific IE exploits. In the last week, at least one IE Browser Helper Object (BHO) has been discovered (follow that link; the write-up is fascinating reading) which silently installs itself and captures any usernames and passwords sent to a long list of banking sites. As soon as the first person goes to the papers with “I had all my money stolen because I used IE”, the mozilla.org download servers are going to melt. Hey, even CERT now recommends that people switch. Maybe we need a campaign like Apple’s…

Comments Considered Harmful?

Commenting code. Normally a good thing, right (the views of those crazy XP people notwithstanding)?

You wouldn’t have thought that adding comments could actually stop your code working, could you? Yet I’ve been writing XBL recently, and hit not one but two situations where exactly that happened.

In XBL, you write a binding which represents a widget, and you can then write methods to call on any element which you’ve bound that binding to. So you can do something like myWidget.throb(). If you want to use your method to fiddle with the anonymous content of your widget, the usual pattern used to get hold of it is:

var rootNode = document.getAnonymousNodes(this)[0];

However, if you add a comment at the start of the <content>, node 0 is now a comment node, and all your methods stop working.

Secondly, and perhaps more seriously, I’ve just debugged a crash I started getting, and it turns out that some of the code in nsXBLPrototypeBinding.cpp, which is invoked when you change an XBL attribute via the DOM, doesn’t cope very well with comment nodes (it doesn’t check a return value for null). Removing all my comments prevents the crash. In other words, Mozilla crashed because I had commented my code too well…

Replacing Trident

As many of you will have noticed, Microsoft has a wiki page for enhancements to IE. Apparently, they made it a wiki because “there’s no way we can currently scale to support the volume of requests on the forums” – in other words, IE is so terrible that they can’t cope with the level of complaints ;-)

I was reading through the suggestions, and thought that basically, what everyone is saying is that MS make IE do all the stuff Firefox does. “Why doesn’t someone just say that?”, I thought. Well, they did :-) Although I wouldn’t call the idea “outrageous”.

It’s a fair bet that the internals of Trident, the current WinIE rendering engine, are a mess. Just like Netscape with 4.x, if you evolve a codebase too fast, eventually it get too fragile to extend further. IE was competing in the browser wars too, remember? Microsoft would be foolish to rewrite IE from scratch. So, if they were to hop codebases, they have two realistic options – Tasman, the MacIE engine, or Gecko.

I don’t know much about Tasman, so won’t speak about it, but Gecko would be an excellent choice. Would it be harder to re-implement IE extensions on top of Gecko (or even deprecate them!) than it would to implement modern web standards on top of Trident? Interesting question.

Microsoft’s well-known allergy to the GPL wouldn’t even be an issue – they could use the code under the terms of the MPL, as Netscape does.

It Couldn’t Last

Microsoft is re-constituting the Windows IE team. Bill’s woken up to the danger.

In one way, this is bad. IE 6 is easy to compete with. It’s a buggy, insecure piece of junk. Just show people the pop-up blocker and tabbed browsing, and they are sold.

In another way, this is good. We (and the other browser vendors) have been recognised implicitly as having a better product – we are serious competition. And Microsoft is playing catch-up.

When Firefox gets stable and hits 1.0, there’ll be a massive publicity explosion. Our product is too good not to get converts. Then, when the new IE is released, the browser wars will return. Hopefully, this time, we’ll be competing on usability, not on how well we can balkanise the web…

Mozilla 1.8 With Added Spyware

licensing@mozilla.org recently received the following email:

Hi,

My name is Jered Goodyear and I am a Sr. Media Buyer for a full-service online
marketing company called Mindset Interactive.  Our consumer brand is Addictive
Technologies. We currently partner with 4 different products and deliver these
to the end-user through ad prompted installs and by bundling our .exe file with
other dowloadable products.  I think that the latter would be a good opportunity
for the both of us, co-bundling our .exe with your free downloads.

With the amount of downloads you are getting monthly, this could be a large
source of additional money.

Please contact me so that we may discuss the possibilities further.

Thanks.  I hope to hear back from you soon.

- Jered

Of course, I replied immediately, expressing interest and asking for more information. mozilla.org will certainly be vigorously pursuing this offer, and we hope to include Mindset Interactive’s spywaresoftware with our next release.

Not.

Anti-Phishing Wishing

I’ve been thinking about phishing. Firefox already has some phishing protection, but it seems to me that the best way of protecting people is to make it very clear what domain the content in every window is from. This would have two aspects:

– Make sure that some browser UI is always visible in any window
– Make sure that UI clearly shows all applicable information

The UI in question should probably be the status bar – it already has the SSL lock, and IE in XP SP2 is going for a permanent status bar – presumably for this reason.

So how do we make the bar show all applicable information? Next to the SSL lock, we put the domain name of the server.

This has been proposed before – there’s an extension for Firefox and IE which implements an entire new toolbar with just this info on. The idea here, though, is to leverage the “glance at the lock” that people are trained to do on secure sites, so that they also see the domain and can notice if it’s not where they expect to be.

If we did this, and promoted it widely, we could harvest some really good PR. Especially if banks started recommending us because we are the browser which makes their customers most secure. Hence, I’ve written a patch and filed bug 245406.

Screenshot (with a fairly trivial phishing attempt; they can be more complex):
anti-phishing.png

Hidden Mozilla Feature

To be honest, occasionally I do despair at the slightly chaotic nature of Open Source development – particularly when I come across an amazingly useful feature which no-one knows about, either because the last 5% of the work to implement a UI for it wasn’t done, or just because it’s been forgotten.

For example, did you know that Mozilla has the ability to show the Outlook Address Book and/or the Windows Address Book (used by Outlook Express) as one of its address books? This was done in 2001 by some guys from Sun Ireland, but the UI patch is still waiting for review three years later…

To turn it on, follow the instructions on http://abzilla.mozdev.org/. I have no idea whether it works in Thunderbird.

Microsoft And mozilla.org Should Talk

Robert Scoble, MS evangelist, says (as reported in Internet News): “As to Mozilla, you guys should talk with us. We’re working underneath on the foundation. Longhorn will let you make a new awesome browser that’d blow away what you’re doing today. Here’s a hint: I’m using Firefox on Longhorn. Works great! But it COULD BE so much better! You don’t take advantage of Avalon. You don’t take advantage of WinFS. These things are not threats to you. They are platform-level investments we’re making for you to use…”

Hey Robert – here’s a suggestion for you: you guys should talk with us. We’ve already completed the foundation. We have a mature XML-based UI markup language, and a fantastic web content rendering engine that you should take advantage of, instead of re-inventing the wheel with XAML and Trident/Tasman enhancements. These things are not threats to you. They are cross-platform investments we are making for you to use…

I mean, surely it makes sense for them to use the XUL technology stack rather than XAML for Longhorn? After all, it’s the established and open way of doing what they are trying to achieve. The only way they’d not use it is if they wanted to get some sort of patent or proprietary single platform lockin – and I’m sure they wouldn’t do anything that nasty.

I Have a Mozilla Job!

I’m extremely happy to be able to say that my company, Data Connection, is evaluating the Mozilla platform for use as the basis of an upcoming project. If the evaluation goes well, I will be moving to work on that project for the forseeable future.

As you might expect, I can’t say any more at this stage. But basically: working with Mozilla is going to be my job – a real answer to prayer! Party! ;-)