How to configure Browser Compatibility for IE Containers

Java Script Redirection

IE Containers are able to redirect deprecated Java script APIs to supported APIs so that applications that work in IE 6 to 10 are able to run in IE 11.

During Packaging

  • Create the following reg script 
Windows Registry Editor Version 5.00 
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PROTOCOLS\Filter\text/html]
"CLSID"="{BBAC9438-358A-4D5A-A34F-49C64095D8F8}"
  • Double click the reg script to install it
  • Launch a command prompt as Administrator
  • Navigate to BrowserCompatibility within the Packager\Tools
c:> regsvr32 Cloudhouse.IECompatibility32.dll

Configuration 

  • To load the desired shim from the Shims directory, edit BrowserCompatibility.IE.cfg and using JavaScriptShims specify the shim that should be loaded.
{
    "Rules": [
        {
            "UrlPatterns": [ "cloudhouse.com" ],
            "JavaScriptShims": ["Shims/ValidationShim.js"]
        }
    ]    
}

Unsigned Shims

If an unsigned shim is loaded by the Container, then the browser will present a unsigned shim warning to the user. This is expected behaviour during the testing of a new shim required by your browser application. The user may accept, or decline the shim. Unsigned shims are used during intial testing, and should not be used in Containers that are deployed to live users. Please contact your Cloudhouse representative if you require a new shim to be signed.

All shims provided in the Auto Packager's shims directory have been signed by Cloudhouse, and will not present any warning, or prompts, to the user.

Notes

You may have multiple domains configured, each domain may load different shims. The path to the shim must be a relative path to the dll.

{
    "Rules": [
        {
            "UrlPatterns": [ "cloudhouse.com" , "google.com"],
            "JavaScriptShims": ["Shims/ValidationShim.js"]
        },
        {
            "UrlPatterns": [ "acme.com" ],
            "JavaScriptShims": ["Shims/AcmeShim.js"]
        }
    ]    
}


Known Limitations

This feature can only be used if a valid CLSID does not exist already in HKCR\PROTOCOLS\Filter\text/html.

Was this article helpful?

Can't find what you're looking for?

Contact Support