LOL

Overriding reason is, it is what I was given. And you know about scope creep. Someone else here has a Java applet that can do the same thing as this - but devil scope creep appears again. Besides, I go on vacation tomorrow!!

The test for window.ActiveXObject seems to be working wonderfully - and would pick up things when Gecko might allow their use.

BTW, this is in one of our products - fully intended for internal use at a customer's enterprise. Very little reason to be concerned about spoofing of UserAgent and all - anyone doing that probably should be dismissed. This app is just generally not opened to the world, although it could be.

I know - security by obscurity!

Vern

-------------- Original message --------------
From: "Dean, Robert" <rdean@xxxxxxxxxxxx>

The Gecko codebase has built-in support for ActiveX, but it's not enabled in
FireFox for security reasons.

What I've been wondering is if there is some overriding reason why the solution
has to involve ActiveX as opposed to Silverlight (which is better supported by
"other" browsers and has less security potholes to avoid).

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx on behalf of Nathan Andelin
Sent: Wed 7/30/2008 3:37 PM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] Need advice on reliable way to identify IE as thebrowser

From: Pete Helgren
Alfredo has a more elegant design until someone builds a
plugin that will run ActiveX in other browsers. Then things
will get ugly...

Which begs the question, should we even care about the name of the user agent,
or whether it's from Microsoft or Mozilla or whomever? Are we doing a survey?
Should we write conditional expressions based on isIE? Or would it be better to
write something like:

if (window.ActiveXObject) ..., which may not be supported in Firefox or Opera
today, but maybe tomorrow.

Which brings me back to my earlier comment about just asking the DOM if it
supports a particular element or method.

Nathan.



--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.


--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.