1// Currently, the only major browser not supported is Internet Explorer 2 3function UnsupportedBrowserCheck(ProjectName){ 4 5 function IsIE() { 6 // document.documentMode for more recent IE and MSIE in the user agent for older IE 7 return navigator.userAgent.indexOf("MSIE") !== -1 || !!document.documentMode; 8 } 9 10 function BrowserUpdateRedirect() { 11 location.replace(location.protocol + "//" + location.host + "/Pages/UnsupportedBrowser"); 12 } 13 14 function BrowserUpdatePopUp() { 15 document.getElementById('alert-overlay').style.display = "block"; 16 } 17 18 if (IsIE()) { 19 if (ProjectName === 'Viewer') { 20 BrowserUpdateRedirect(); 21 } else if (ProjectName === 'Editor' || ProjectName === 'BlogManagement' || ProjectName === 'Panel') { 22 BrowserUpdatePopUp(); 23 } 24 } 25} 26 27if (window.WS && WS.ProjectName) { 28 UnsupportedBrowserCheck(WS.ProjectName); 29}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.