If you've spent any time using Java applets, you may have run across an annoying little "feature" of Internet Explorer 6/7. Before interacting with an applet, it's outlined in gray and displays the mouseover message "Click to activate and use this control."
This may not seem like much of an inconvenience, but it seems wrong to waste precious time explaining this kind of thing away to hundreds of perplexed users. Web applications should work intuitively; clicking to activate something is just counterintuitive.
Earlier versions of IE lacked this feature. It was added as the result of a patent lawsuit that Microsoft lost (and I was actually rooting for them that time!). The suit was filed by a company called Eolas who were granted patent number 5,838,906 in 1998 for the invention of:
A system allowing a user of a browser program on a computer connected to an open distributed hypermedia system to access and execute an embedded program object."
In other words, browser plugins.
As a result of losing the Eolas suit, Microsoft was forced to cripple IE with the bizarre "click to activate" workaround.
Regardless of your thoughts on the validity or utility of software patents, the Eolas case has very real effects for Web developers everywhere.
Fortunately, there are a variety of workarounds to this problem. Two of the most effective are:
- Replace all
document.write. This function must be called from a file separate from the HTML file itself.
- Use the excellent jActivating library.
<head> tag and be done with it.
Behind the scenes, jActivating strips out your
<object> tags, replacing them with dynamically-generated tags that apparently fall outside the scope of the Eolas Patent.
Let's hear it for workarounds!