LoginSignup
2
3

More than 5 years have passed since last update.

【メモ】FuckingInternetExplorer【アンチIE】

Posted at

自分のサイトにIEユーザーを減らす(?)ための記述をしたのでメモ

index.html
<!--[if IE]>
    <SCRIPT LANGUAGE="JavaScript">
        <!--
            setTimeout("location.href='fuckie.html'",0);
        //-->
    </SCRIPT>
<![endif]-->
fuckie.html
<!DOCTYPE html>
    <html>
        <head>
            <title>
                Fucking InternetExplorer!!
            </title>
            <SCRIPT LANGUAGE="JavaScript">
                <!--
                    setTimeout("location.href='http://www.google.com/chrome'",3000);
                //-->
            </SCRIPT>
        </head>
        <body>
            <b style="font-size: 100px;">
                Fucking InternetExplorer!!
            </b>
        </body>
    </html>

ちょろめのDLページに自動的に飛びます

2
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
3