BHH logo

Ch1 Source Code - Web Browser Security


Alert

                alert("Browser Hacker's Handbook")
                

Append script element to head of the document

var script = document.createElement('script');
script.type = 'text/javascript';
script.src = 'http://browserhacker.com/code/Ch01/alert.js';
document.head.appendChild(script);