2
I want a chunk of code (a specific function) to run only when the browser is IE 10 and 11, when it is Firefox or Chrome for example, I want that function to be ignored. That’s possible?
2
I want a chunk of code (a specific function) to run only when the browser is IE 10 and 11, when it is Firefox or Chrome for example, I want that function to be ignored. That’s possible?
2
I wouldn’t do that, read this, but if you really want to (it won’t work on Edge either):
if (/MSIE \d|Trident.*rv:/.test(navigator.userAgent)) {
funcao()
}
Browser other questions tagged javascript jquery internet-explorer
You are not signed in. Login or sign up in order to post.
follow tip; https://modernizr.com/
– RFL