I used this to check:
$.browser.msie && $.browser.version == 8
But it seems that it has $.browserbeen removed from later versions of jQuery,
So,
How can I check this with just pure javascript?
I tried:
isIE8: navigator.appVersion.indexOf("MSIE 8") > 0
It seems to be done, but it doesn't look so good and actually looks like it has a lot of flaws ...
What is better aproach?
source
share