A JavaScript drop-in replacement for conditional IE statements that were removed in IE 10.
- All
lt
,lte
,gt
, andgte
operators are supported. The operator can be omitted. - Only major versions can be compared are supported. The version can be omitted.
- The if not IE condition is not yet supported.
- The library only processes conditions on IE 10 and greater.
Simply drop the library onto any web page that has conditional IE statements.
<script type="text/javascript" src="ie_conditions.js"></script>
Copyright (c) 2012 Vex Software LLC, released under the MIT license.