verify browser is ie? code example Example: javascript detect internet explorer // Internet Explorer 6-11 const isIE = !!document.documentMode;