D
DartmanX
Is there a simple way to determine if someone using Internet Explorer
has completely disabled ActiveX controls?
Jason
has completely disabled ActiveX controls?
Jason
DartmanX said:Is there a simple way to determine if someone using Internet Explorer
has completely disabled ActiveX controls?
Jason
DartmanX said:Is there a simple way to determine if someone using Internet
Explorer has completely disabled ActiveX controls?
DartmanX said:Well, the reason I ask the question is because what I am doing needs to
be able to determine if ActiveX is completely disabled on IE in order
to display a "Sorry, this function won't work" message.
Jason
I do not think that javascript is a good answer. Even if you can come
up with a script that can detect ActiveX support or not with 100%
accuracy, there is a problem. Many people who turn off ActiveX also
turn off javascript.
For all such people, a script method is doomed to failure.
Thus, if the detection you wish is reasonable at all, it
likely needs to be done on the server using php script, Perl, or
something of the sort.
Randy said:(e-mail address removed) said the following on 10/12/2005 10:56 PM:
I have JS enabled, ActiveX disabled. I understand how my browser works,
how ActiveX works, and what kind of security holes I am opening/closing
by having it set that way.
That is not true. JS/ActiveX is the best answer to answer a JS/ActiveX
question. You put the warning in the page and then have JS/ActiveX
remove it.
"Warning: I have no idea how to implement my page without JS and ActiveX
so if you see this then I failed in my objective of producing an
accessible webpage to all."
Then, you write an ActiveX object that would change that text. Pretty
simple stuff.
If the warning stays, then JS is disabled and the user is notified. If
JS/ActiveX is available, it removes the warning and JS/ActiveX enabled
users get the enhancement.
Huh? And how would the server attempt to determine that? It can't
possible determine it better than JS could attempt to determine it.
You do not need to use script at all in many cases - you just take
advantage of the AX object.
As I mentioned in my first post, if you use an AX object and AX is
not supported, a second path will be taken if it is included in the AX
object. This second path can be a simple paragraph that states anything
you wish.
Randy said:(e-mail address removed) said the following on 10/13/2005 12:30 AM:
Huh? The post I quoted you say this:
<quote>
Thus, if the detection you wish is reasonable at all, it
likely needs to be done on the server using php script, Perl, or
something of the sort.
</quote>
And now you say to use AX to detect AX? (which is exactly what I said).
Which is the same effect as I described.
AX itself determines whether it is available or not - not the server.
The server is very rarely (if ever) the best place to try to determine
if a client side technology is available or not.
Even if it is enabled, Javascript is a silly way to try and find out.Richard said:Ask them?
Even if it is enabled, Javascript is a silly way to try and find out.
What if Javascript is disabled?
It's a given with this particular application (not the world at large,
but this application) that it won't run with javascript disabled. The
users are aware of this fact.
Given this is a Javascript newsgroup, that should be taken as read.Randy said:The Magpie said the following on 10/14/2005 10:54 AM:
Who said anything, in that reply, about Javascript?
Given this is a Javascript newsgroup, that should be taken as read.
The said:Given this is a Javascript newsgroup, that should be taken
as read.
For the record, there are, or were, very complicated scripts for
detecting if a WMP, for example, is installed, what version it is, and
if there is AX support for it. This is/was somewhere on the vast
Microsoft sites. The best I remember, it used 2 javascripts(or perhap
Microsoft Jscripts?) and 1 vb script. Because of the vb script, this
method would not work on many other non-Microsoft browsers.
Ask them?
Richard said:Oh no it shouldn't.
[snip]The best possible advice a
javascript group can give to many questions about the possibility of
using javascript for some tasks is that it is an inappropriate
technology for the task and so should not be used.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.