So I know that I could actually do display:none;
on all my posts and other content.
The problem with that is that you could anyways see the content inside the source code (pretty sure that 99.9999% of IE8 users don't even know about source code option, but want to hide it from source code anyways... ). What I would like instead to do is to not get any code at all besides maybe display something like this both on page and in source code:
<!--[if lte IE 8]>
<h2>You should update your browser version or choose another. Otherwise the content will not be visible for Internet Explorer users or below.<h2>
<![endif]-->
(It's a WordPress website)