Html程序  |  18行  |  410 B

<html>
<head>
<script src="inspector-wrappers-test-utils.js"></script>
<script>
window.alert = function(consolePanel) {
  var _addMessage = consolePanel.addMessage;
  consolePanel.addMessage = function() { 
    doAttack(consolePanel.addMessage);
    consolePanel.addMessage = _addMessage;  
  }
}
</script>
</head>
<body>
<script>instructions({console: true, trigger: "alert(this)"});</script>
</body>
</html>