Preventing browser UI spoofing

August 1st, 2004

The problem of web sites being able to spoof browser UI was on Slashdot recently. This is a hard problem that browser vendors have known about for a long time.

The most popular solution, preventing web sites from disabling the status bar, is insufficient. Keeping the status bar always on would only keep malcious sites from spoofing https sites. In contrast, keeping the address bar always on would keep malicious sites from spoofing all web sites. Keeping the address bar always on would also be more effective at preventing web sites from spoofing native applications.

One argument for using the status bar is that it's smaller than the address bar. But it's only about 8px shorter if we use small-icons mode for pop-ups, and we can probably make it even shorter.

One suggestion was to show the hostname in the status bar. The hope is that users would then look there instead of the address bar to verify what site they're on. I don't think enough users would change their habits for this to work. It would also require cluttering the status bar in ordinary windows, which seems like a high price to pay to save 8px in pop-up windows.

Whatever we choose (address bar or status bar), we can do things to avoid breaking existing web sites. If a web site requests a 400x300 window without an address bar, we can give it a 400x334 window with an address bar. We can add a menubutton to the address toolbar in pop-up windows with menu items "Restore toolbars", "Hide address toolbar", and "Hide address toolbar in all pop-ups from https://gmail.google.com/".

Pornbar for Firefox

August 1st, 2004

Inspired by the Bible Toolbar extension for Firefox, Billistic made Pornbar. Sadly, he based his extension on the Eurekster toolbar, not the Bible Toolbar.

Update August 15: Pornbar is now listed on the Pornzilla site.

Trying out del.icio.us

July 31st, 2004

My del.icio.us bookmarks. This may be the end of my link propogation posts.

Garey and Johnson

July 31st, 2004

My copy of Garey and Johnson arrived the other day. I wonder if it will make good airplane reading while I'm heading to Mozilla Developer Day next week.

Firefox 1.0 RC1 renamed to Firefox 1.0 PR

July 26th, 2004

Firefox 1.0 Preview Release (previously Firefox 1.0 Release Candidate 1 (previously Firefox 1.0 Beta (previously Firebird 1.0 Beta (previously Phoenix 1.0 Beta)))) is planned for the second or third week of August. I'm glad the Mozilla Foundation decided to move away from using misleading "Release Candidate" names for builds that aren't release candidates.

Adam Sacarny on the shell: hole

July 25th, 2004

Adam Sacarny, author of the Mozilla shell: vulnerability timeline, discusses what Mozilla can do to work around future holes in programs that register themselves as protocol handlers.

Are you Sure?

July 25th, 2004

To allow for proper operation of the 'Uninstall YAMAHA SoftSynthesizer' you should restart your system at this time. Are you Sure? Yes/No.

A math joke involving Clinton

July 25th, 2004

Steven Pinker, Listening Between the Lines:

In his grand jury testimony, Mr. Clinton expounded on the semantics of the present tense ("It depends on what the meaning of the word 'is' is") and of the words "alone," "cause" and, most notoriously, "sex."

Clinton's rebuttal to the Starr report:

Literally true statements cannot be the basis for a perjury prosecution, even if a witness intends to mislead the questioner. Likewise, answers to an inherently ambiguous question cannot constitute perjury.

A joke:

Have you ever touched Paula Jones or Monica Lewinsky?

It depends on your definition of "or".