Well, here you go - put this between the HEAD and BODY tags:
Code:
<script>
function myFunction() {
var ua = window.navigator.userAgent;
var msie = ua.indexOf("MSIE ");
if (msie > 0 || !!navigator.userAgent.match(/Trident.*rv\:11\./))
document.getElementById("brchk").innerHTML = "<!-- two three four -->";
else
document.getElementById("brchk").innerHTML = "<!-- one two three four -->";
}
</script>
Then insert this in the body tag to trigger the function above once:
Code:
<body onload="myFunction()">
Finally, put this between the HTML tags in your document:
Code:
<span id="brchk"><!-- lets check --><span>