使用方法:放在其它头部信息 <SCRIPT LANGUAGE="JavaScript"> <!-- function stopError() { return true; } window.onerror = stopError; // --> </SCRIPT>