Try this: http://gist.github.com/155415
On Jul 26, 10:50 am, fatanddelicious <[email protected]> wrote: > if(document.querySelectorAll && Browsers.Engine.trident) {} > > will catch only IE8. > > b > > On Jul 7, 4:31 am, Bacchi <[email protected]> wrote: > > > Hi, it don't seems to be a way to detectIE8using the Browser object. > > IE7 andIE8are detected the same way (trident5) as you can see in > > mootools_core.js > > > trident: function(){ > > return (!window.ActiveXObject) ? false : ((window.XMLHttpRequest) ? > > 5 : 4); > > > }, > > > I'm temporarily using this workaround but it's based on userAgent (and > > I don't know if trident6 is correct) > > > if (navigator.userAgent.indexOf('MSIE 8.0') != -1) { > > Browser.Engine.version = 6; > > Browser.Engine.trident6 = true; > > Browser.Engine.trident5 = false; > > > } > > > will it be implemented in the Browser object in the future or am I > > missing something :) ? > > > ciao > > Marco
