Very niceĀ feature to find out what browser you use.
Way to use:
<script type="text/javascript">
var IE='\v'=='v';
if(IE) {
//ie code here
}
</script>
* This source code was highlighted with Source Code Highlighter.
All credits go to WebReflection blog
In case I just need to do something special in IE I’m sticked to something like that:
var isIE = 0 //@cc_on+1;
Inspired by: http://dean.edwards.name/weblog/2007/03/sniff/
Still my POV this is more a hackery than programming technique š
Is that a Microsoft Bug? it really works!!
That works!! Lol
Is that a Microsoft Bug?
this doesn’t seem to work for IE9