Mozilla Adds Undetectable document.all Support, Part of New Novell Linux Distribution?

Friday July 23rd, 2004

Jacob writes: "Mozilla builds starting tomorrow will now support an undetectable version of document.all. This will help with sites that blindly use document.all in DHTML scripts. The support should also show up in the next Firefox release. More information is available in the bug."

An important thing to remember is that this will not break existing scripts that check for document.all, it will only work in cases where the script assumes it is running in IE, and does not first check to be sure that document.all works. If document.all is checked for, Mozilla will continue to block its use and act as it always has.

Update: The Register is reporting that Novell will soon be coming out with a slimmed down version of SuSE Linux targeted at exterprise desktops. The interesting part of this story is that they will be shipping a browser that "supported IE6 extensions, making it possible to access IE-only websites." Time will tell if this new support for document.all is related to the Novell news.

#28 Re: document.all - good idea

by vcs2600 <>

Friday July 23rd, 2004 10:18 PM

You are replying to this message

document.all predates getElementById(). Microsoft found a problem with the W3C DOM, fixed it, and then the W3C chose a different solution (method rather than collection).

Because of its legacy value, it probably should have never been excluded from Mozilla. However once, Mozilla left it out, web developers started using it incorrectly to sniff the browser. (This never worked as intended, due to IE/Mac and Opera.)

I agree that it was probably done mostly for political reasons. Glad they found an elegant solution to the 'sniffing' problem while still maintaining legacy compatibility.