Quote:
Originally Posted by Philip M
Code:
this.ie4 = (document.all && !this.dom)?1:0;
this.ns4 = (document.layers && !this.dom)?1:0;
this.ns6 = (this.dom && !document.all)?1:0;
this.ie5 = (this.dom && document.all)?1:0;
Those browsers have been one with Nineveh and Tyre for very many years. 
|
On top of that, it's not even accurate.
FireFox, Safari, and Chrome (I think) will all show up as
ns6.
It's hard to imagine any more pointless code in today's market. Or, for that matter, at any time since about 2001 or so.
The good part is that, after shoving in that junk code, it does not appear that he actually uses it any place.