Marc said:
I'll be sure to make that clarification next time, as all of this code
was for a backend interface, of which I have some (though not complete)
control over the browser being used.
However, you should keep in mind that supporting only a particular browser
or a limited set of browsers tends to increase development costs in the
mid-term, from the point on where a vendor decides not to support a
proprietary feature anymore in favor of standards compliance, or decides to
implement it differently, or access is desired from previously unknown Web
user agents (especially portable ones) with a limited/different set of
support (particularly of DOMs).
For example, a large software company I once worked for had their intranet
Web site previously based solely on the MSHTML DOM and that DOM alone,
meaning IE-only. When it was then decided by management that Gecko-based
UAs, particularly Mozilla Firefox, had now achieved great enough a maturity
and market share that they deserved to be supported, it needed to be
rewritten completely. The rewrite and all the development cost required for
that would not have to be spent if programming along Web standards or at
least supporting both the proprietary and the standards compliant approach
through feature detection would have been done in the first place.
PointedEars