W3C home > Mailing lists > Public > public-web-plugins@w3.org > October 2003

Re: Working around plugin prompt in IE6SP1b cleanly (ish)

From: Andrew Wason <rectalogic@yahoo.com>
Date: Wed, 8 Oct 2003 19:01:39 -0700 (PDT)
Message-ID: <20031009020139.2696.qmail@web20909.mail.yahoo.com>
To: public-web-plugins@w3.org

> It is possible to work around the plugin prompt in
> the new IE6 update in a standards-compliant and
> backwards compatible way. 

Here is what I have been using to support Flash. It's
backwards compatible with Netscape 4.x and IE 4.x and

I use noexternaldata="true" to avoid the prompt, and
then set the external data source via script if this
is the updated IE6. According to MS documentation "The
properties of a control loaded with an OBJECT element
can also be set in script. If a remote source of data
is provided to a control in script, the user is not
prompted when the control loads."

The only problem is the IE6 update does not include
the AXCompat string in the userAgent as the MS docs
say it will: "Note: You can determine if a user's
version of Internet Explorer exhibits the new behavior
by examining the user agent string. If it contains the
token AXCompat, then the browser has the new

So I commented that test out for now.

Making this registry entry fixes IE6 so it has
AXCompat in the userAgent. The xpsp2res.dll included
with the update is attempting to insert this registry
entry in the wrong place.

Windows Registry Editor Version 5.00

Settings\User Agent\Post Platform]

<object id="flash" noexternaldata="true"

	width="320" height="300">
	<param name="movie" value="test.swf">
	<embed src="test.swf"
<script language="JavaScript">
// Comment out if IE6 is broken and doesn't contain
//if (navigator.userAgent.indexOf("AXCompat") != -1)
	flash.Movie = "test.swf";


Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
Received on Wednesday, 8 October 2003 22:03:11 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:56:03 UTC