[Webkit-unassigned] [Bug 8278] SVG not detected on Urchin web statistics website

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Tue Jun 27 04:42:08 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=8278


ap at nypop.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ap at nypop.com
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
            Summary|SVG not detected on Urching |SVG not detected on Urchin
                   |web statistics website      |web statistics website




------- Comment #2 from ap at nypop.com  2006-06-27 04:42 PDT -------
According to Google, only Adobe SVG Viewer is supported in Urchin:
<http://www.google.com/support/urchin45/bin/answer.py?answer=40959&topic=7384>.
Indeed, it doesn't work in Firefox either.

I have found an example installation here: <http://69.94.67.101:9999>.
Apparently, Urchin uses a script from Adobe,
<http://69.94.67.101:9999/ujs/svgcheck.js>.

function isSVGPluginInstalled() {
   return
(navigator.mimeTypes["image/svg"]&&navigator.mimeTypes["image/svg"].enabledPlugin!=null)||
         
(navigator.mimeTypes["image/svg+xml"]&&navigator.mimeTypes["image/svg+xml"].enabledPlugin!=null)||
         
(navigator.mimeTypes["image/svg-xml"]&&navigator.mimeTypes["image/svg-xml"].enabledPlugin!=null);
}

Looks like we can easily fool this check by adding SVG to the browser.mimeTypes
list (and that may even be the "right" thing to do).


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list