I've read many questions and answers such as Check for IE 10, How do I target only Internet Explorer 10 for certain situations like Internet Explorer-specific CSS or Internet Explorer-specific JavaScript code?, How do I detect IE10 using javascript?, Best way to check for IE less than 9 in JavaScript without library, and above all Detect IE version (prior to v9) in JavaScript, etc.
Most of them use Javascript, jQuery (but 1.9+ doesn't seem to support $.browser anymore...), and adding a special class to <html>
when IE <= 10 is used, allowing specific handling with CSS.
I want to do something simpler : have the HTML page display "Browser not supported" only and nothing else when IE <= 10 is used (i.e. the rest of the page should be hidden).
What's the recommended way to do that?