get mootools

This is taken from the main page "HOW" section, just for the impatients.

By injecting the following javascript in all of your sites pages (at least, in the homepage), users still using IE<7 will be informed that they are not welcome and why.

How to use the script:

Depending on how incisive you want to be, you can choose between two modes:

no mercy: IE<7 users will be prevented from visiting your site. A warning in-page message will be shown explaining them why they are not welcome, with a link to this site where they can fully understand what’s behind.

tolerant: IE<7 users will be warned, but they still will be able to visit your site.

Now, grab the following files and put them in your js directory (or any other, just remember to change the path in the <script> tag):

  • Detect.js (1.6 kB) - browser detection
  • StopIE6.js (no mercy | tolerant) (3.3 kB) - automatically injected by detect.js, only if IE<7 is found

Then, add the following code to the <head></head> section of all your site pages (or at least your homepage)

<script src="js/detect.js" type="text/javascript"></script>

<test this code (as seen by IE6 users)>

That's it. You're part of the movement!