Last updated

IE6 Notice - Encourage users to upgrade IE6

IE6 is evil and must die so I've created IE6 Notice a 2kb JavaScript file that adds a notice to sites encouraging users to upgrade from IE6.

Estimated reading time: 1 minutes

Table of contents

What it is

IE6 Notice adds a notice for IE6 users encouraging them to upgrade their browser. Users may choose to hide the notice and their preference will be remembered.

How to use it

Adding the notice to your site just requires you to include a single 2kb JavaScript file in your HTML. Copy the following and paste it before the closing body tag of your HTML. If you’d rather not include a remote JavaScript file on your site you can download the source and host it locally.

<!--[if IE 6]>
<script type="text/javascript" src=""></script>

Find out more

There’s a dedicated page for IE6 Notice. You can also grab the source from Github - it is licensed under an Apache License 2.0

Have an update or suggestion for this article? You can edit it here and send me a pull request.


Recent Posts