 <p>You can use conditional compilation to get only IE10, this is a good way because it does not rely on jQuery or anything that could be spoofed(afaik).</p> <p>Tested it on IE8, IE9, IE10, Chrome and worked as expected in all.</p> <p>Usage:</p> <p><code>if(Function('/*@cc_on return document.documentMode===10@*/')()){ $("html").addClass("ie10"); }</code></p> <p>read on: <a href="http://stackoverflow.com/a/13971998/1711038">http://stackoverflow.com/a/13971998/1711038</a></p>