RPeraltaJr
10/17/2019 - 3:16 PM

Javascript exclusively for IE

let ua = window.navigator.userAgent;
let msie = ua.indexOf('MSIE '); // IE 10
let trident = ua.indexOf('Trident/'); // IE 11

if (msie > 0 || trident > 0) {
    // Run function for IE here
}