TLDR: Tell IE6/7 users to leave in a nice way 🙂 whilst blocking them from all content.
Basically I do not need people using IE7/6 lower on my web app. Was thinking of just doing a doc.write after load to wipe the page with a message of “Sorry your browser is outdated” has anyone done similar and found a nice friendly way to tell them to come back with a better browser?
Am currently using jquery so jquery solutions viable.
(1) Most reliable way to detect browser?
(2) Opinion on what to present to the user?
The SCENARIO is not the question here
They will have access to upgrade if need be!
I have legit reasons for doing so so stay ontopic to the question and don’t voice opinions about the general topic of IE6 and how much you love it.
Use an IE conditional statement (e.g.
<![if lte IE 7]>Upgrade your browser<![endif]>) and remove the content with jQuery.