Comment 14 for bug 830173

Revision history for this message
In , skierpage (skierpage) wrote :

For the URL http://www.mozilla.com/en-US/firefox/3.6/whatsnew/ mentioned in bug 641140 , the problem is in function flashWarning(). This winds up calling DetectFlashVer() and GetSwfVer(). I think these are minified versions of Adobe's example code to embed flash (but I can't find the "source" for mozilla.com on mxr). The simplest fix is to have GetSwfVer() short-circuit as comment #2 suggests:

  var flashDescription=navigator.plugins["Shockwave Flash"+swVer2].description;
+ if (flashDescription.indexOf("Gnash") !== -1) { return -1 };
  var descArray=flashDescription.split(" ");