Duck-Typing and a Homepage Warning for IE11
During a testing phase on one of our current clients we encountered an issue where some HCM Cloud pages weren’t displaying correctly to users who used the Internet Explorer browser.
This presented us with a problem, as Microsoft no longer really support IE11 (recommending Edge instead) and some users weren’t even on the latest release, having versions as far back as IE6 – which has been outdated for at least 15 years. With it not being supported by MS it’s not fair to expect Oracle to fix the issue. We cannot force all users away from IE as although the company could mandate a more modern default browser via AD group policy we cannot control what users choose to have on their personal laptops.
So it was decided that we would still allow users with IE11 and prior versions to access HCM Cloud, but to place a warning on the homepage to inform them that they’d get a better experience on a more modern browser. We obviously don’t want to trouble users of other browsers with this message however.
Identifying Browsers / Duck-Typing?
Here’s the Stack Overflow answer.
Displaying a warning for only Internet Explorer users
Now we can identify IE users, we need to display a message to them.
First I decided where the warning would look best, deciding on just below the welcome greeting. I copied the name of this div for later use.
Within a Sandbox I used Page Composer to edit the springboard. I added an HTML Markup object and named it ‘IE11 Warning’.
The End Result:
It works a treat, displaying for IE users and not for anyone using other browsers.