Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function isIE() {
- var ua = window.navigator.userAgent; //Check the userAgent property of the window.navigator object
- var msie = ua.indexOf('MSIE '); // IE 10 or older
- var trident = ua.indexOf('Trident/'); //IE 11
- return (msie > 0 || trident > 0);
- }
Add Comment
Please, Sign In to add comment