General Interface is an open source project hosted by the Dojo Foundation

Running GI 3.9.0 on Firefox 4

While you can run GI 3.9 on Firefox 4, you must get pass the browser support warning dialog. As far as we can tell, there is no compatibility issue for GI 3.9 and Firefox 4. So, you can get pass this warning dialog by adding a deployment parameter

Deployment Parameters

jsx_browsers. Overrides the default set of supported browsers. The format of this parameter is

bt={allow,warn}[,...]

where bt is the browser type returned by the getType() method in the jsx3.lang.ClassLoader class. See jsx3.lang.ClassLoader in General Interface API Reference.

allow launches the application in the browser.
warn provides a warning for unsupported browsers and allows the user to proceed

For example, to show a warning in Internet Explorer 6 and allow Firefox 4, modify the application launch page as follows:

jsx_browsers="ie6=warn,fx4=allow"
 document.write('<script type="text/javascript" src="JSX/js/JSX30.js"
 jsxapppath="' + appPath + '" jsx_browsers="ie6=warn,fx4=allow" ><'+'/script> ');

The next version of GI should have Firefox 4 support enabled by default, so you will not need to do this. However, if you can't wait this is how you do it.

Labels

firefox firefox Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Oct 04, 2011

    Darren Hwang says:

    NOTE: this blog tip also applies to GI 3.9.1 running on Firefox 5+. Please see n...

    NOTE: this blog tip also applies to GI 3.9.1 running on Firefox 5+.
    Please see next blog on Running things inside GI Builder http://www.generalinterface.org/docs/display/DEVBLOG/2011/06/27/Running+GI+Builder+on+Firefox+5