Dfenestr8 said:
Can you hand feed me an alteration to the subroutine to fix that?
Presuming browser detection is needed at all (and it isn't),
no change is required. IE 6 will be identified as "dom", which
probably just as suitable as any other classification you may
want to give it.
Incidentally:
this.dom = document.getElementById ? 1 : 0;
Could be more simply written as:
this.dom = document.getElementById;
If document.getElementById is undefined, the so will this.dom
and any test of it will return false. Vice versa if the
original test is true (goes for all the global variables you
have initialised the same way).
Please read up on feature detection, it is much simpler and
cleaner and makes no assumptions about the user agent based on
support for a single feature.