Search Wiki:
Resource Page Description
Optional add-on for Silverlight.js. Adds Silverlight.supportedUserAgent function which determines if the user's browser is supported by Silverlight.

This functionality is not included in the Silverlight.js file because supportedUserAgent is highly dependant on current Web browser implementations. Because browsers evolve very quickly, this function will need to be updated much more frequently then the Silverlight.js file. If you need the functionality of Silverlight.supportedUserAgent then please check back often for updates to this file.

Current Release: 5.0.61118.0

This release is compatible with Silverlight 1-5.

Documentation

supportedUserAgent function:

Determines if the client browser is supported by Silverlight.

params:
  • version [string] : determines if a particular version of Silverlight supports this browser. Acceptable values are "1.0" and "2.0".
  • userAgent [string]: optional. User Agent string to be analized. If null then the current browsers user agent string will be used.

return type: boolean

Silverlight.js

This file can be used stand-alone or in conjunction with Silverlight.js.
Last edited Dec 17 2011 at 12:45 AM  by AndyRiv, version 13
Comments
endquote wrote  Feb 10 2009 at 3:41 AM  
It's unfortunate that this script returns unsupported for Google Chrome and Safari on Windows, when both browsers seem to run Silverlight 2 content just fine.

Marauderz wrote  Apr 11 2009 at 9:06 AM  
While Silverlight 2 is not OFFICIALLY supported in Chrome and Safari on Windows. When redirected to the Silverlight site and the user is shown the warning that their browser is unsupported. The download button should still be made to be visible and vocal instead of making the user think that there is no way to get Silverlight running on their browser.

Neville wrote  May 15 2009 at 9:30 PM  
Chrome and the Windows version of Safari share a Silverlight incompatibility that makes them unusable with some of my Silverlight applications. For a description and demo, visit http://www.nevlab.com/PluginResizeTest.htm

Neville wrote  Jun 14 2009 at 12:41 PM  
Safari 4 for Windows appears to fix the problem mentioned above, but Chrome still has the bug. Presumably Chrome's problem will disappear when it updates to the latest version of WebKit. A demo of the issue is at http://www.nevlab.com/PluginResizeTest.htm

MrElvey wrote  Feb 25 2011 at 7:25 PM  
The Chrome problem has disappeared; Neville's Resize Test is passed now. (WFM).
And yet Chrome is still officially unsupported. Perhaps a refrain of the old, well documented tale about MS putting spurious error messages into Windows just to make DR-DOS look bad?
Certainly, Chrome is eating away at IE market share!

softlion wrote  Aug 4 2011 at 4:47 PM  
There is no problem with Chrome 13. But this file is one year old, so useless ...

Peran wrote  Feb 23 at 11:59 PM  
version [string] . Acceptable values also include "3.0", "4.0" and "5.0"

Note: The silverlight installation experience white paper here http://go.microsoft.com/fwlink/?LinkId=153361 contains templates that call Silverlight.supportedUserAgent() without parameters, the version parameter is now required and you need to update the templates e.g. Silverlight.supportedUserAgent('5.0', null) for this function to work.

Updating...
Page view tracker