• Beef with IE

    I’ve never been a fan of IE and one particular incident sways the decision I made long ago to switch to other browsers pretty decisively for me. I spend time tinkering with both JavaScript and Browsers, and some time back I came across a script to iterate through DOM objects on a  page. This script tried doing this using the ‘document.write’ method, used to output text to the document. I remember the outcome well. Firefox chugs along well – but IE, throws an unhandled exception and goes bonkers. The script in question is just one line long, or 61 bytes, and that it can be embedded into any webpage. Running this script may crash your browser so save your work. I don’t know whether to classify this as malware or something else.

    <script>
    for (x in document.write) { 
        document.write(x);
    }
    </script>
    
    • […] on my post, Beef with IE, here’s another little look into what can crash the world’s most popular browser.  […]

      Posted by Beef with IE – II – StopTheHacker.com – Jaal, LLC. on November 10th