chris-ELM
5/5/2015 - 7:26 PM

Detect IE and set internal var to true Note: there must be a variable called isIE variable in the story-line file

Detect IE and set internal var to true Note: there must be a variable called isIE variable in the story-line file

var pa = GetPlayer();

var ua = window.navigator.userAgent;
var msie = ua.indexOf("MSIE ");

if (msie > 0 || !!navigator.userAgent.match(/Trident.*rv\:11\./))   {   
  pa.SetVar("isIE","true");
}