Open KeithHenry opened 11 years ago
I think #30 is a better solution.
Ok, browser detection is bad, really you should detect features instead. The reason why is that old browsers may be patched and browsers you've never seen before may have the same issue.
Unfortunately here we're patching for specific buggy behaviour in IE6 & 7 where they can use an iframe to shim history handling - I've no idea how to test for that.
I need to use this with jQuery 1.10, and $.browser was deprecated in jQuery 1.9.
Replaced $.browser.msie with /MSIE/.test(navigator.userAgent)