My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
  Advanced search   Search tips   Subscriptions
Issue 198: If Adobe SVG Viewer is installed, IE8 will prompt for permission to use it on SVG Web sites
3 people starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----

Sign in to add a comment
Project Member Reported by, Jul 30, 2009
What steps will reproduce the problem?
1. Install Adobe SVG Viewer. It can be enabled or disabled.
2. Load the demo.html in IE8

What is the expected output? What do you see instead?

When web page comes up, IE8 will ask you if its OK to install and use the 
Adobe SVG plugin for this web site. This appears as a yellow toolbar 
prompt. If I remove the Adobe plugin entirely (from control panel 
Install/Remove software), the prompt does not occur. (Gee thanks IE8! I 
feel so much more secure knowing IE8 will force users to "install" and 
approve using a plugin... which was actually already installed and 

This probably won't affect a lot of users and may not be fixable, but it 
is probably worth looking into whether we can stop IE from doing this.

Sep 11, 2009
Please recheck this.  I think demo.html is now working in IE w/ Adobe SVG Viewer (ASV).

If you follow the directions in the users manual carefully the flash version will
always come up.  I have not tested the inline svg via <script> though.
In a HTML file if you use:
<!--[if IE]>
<object id="testSVG" src="embed1.svg"
        classid="image/svg+xml" width="500" height="500">
<!--[if !IE]>-->
<object id="testSVG" data="embed1.svg"
        type="image/svg+xml" width="500" height="500">

it works because the ASV does not support SVG in an object element (security issue).

The second method described in the section:
"Dynamically Creating and Removing SVG OBJECTs and SVG Roots"
also works for me.  This is the method I used in the attachments in  issue 270 .  The
<body> is blank except for the onload="init()"  The entire display is built via JS. 
I went this way because my application is created from XML via XSLT on the fly every
time and the first method is almost impossible to create via XSLT.

This is an important bug though.  I recoded my application to make sure it wouldn't
hang if the user had the ASV installed.
Sep 11, 2009
Project Member #2
Nice; so it sounds like you've found a valid workaround to prevent ASV from popping up?
Sep 12, 2009
#3 helder.magalhaes
> it works because the ASV does not support SVG in an object element (security issue).

I did read something about that but I believe it is a mostly a myth: I've been using
this approach [1] for a while now... Yes, this unveils that IE's object
implementation is basically an embed wrapper, but object allows having fall-back
content, which is pretty important to notify users about missing SVG support.

Sep 16, 2009
As usual you are right.  You can use the object element - however scripting is
disbled [1].

Back to the topic, I would suggest marking this as WONTFIX.  If you install the
viewer you have an option to use the plugin on all pages (yes including a SVGWeb
page).  Once you do this, the popup will go away. This is the way most people will
use ASV anyway.  The important thing is the two programs don't seem to collide.  I
have the viewer installed and the flash version will come up when the methods from
the Users Guide are used.  Has anyone found a conflict?


Sep 16, 2009
#5 helder.magalhaes
> As usual you are right.

A lucky guess... ;-)

> You can use the object element - however scripting is disbled

This is another weird claim. I've been using ASV3/6 in IE-based deployment for a
while (ranging from IE6 to IE8), with SVG scripting in most and even HTML<-->SVG
script communication in some, and everything works as expected.

Sorry if this is going somehow off-topic, but maybe something useful (a test case,
anyone?) will bubble from the discussion. :-)
Sign in to add a comment

Powered by Google Project Hosting