屏蔽网页JS错误
Js容错代码(屏蔽网页错误)
<SCRIPT LANGUAGE='JavaScript'>
//屏蔽js错误
function ResumeError() {
return true;
}
window.onerror = ResumeError;
</SCRIPT>
<SCRIPT LANGUAGE='JavaScript'>
//屏蔽js错误
function ResumeError() {
return true;
}
window.onerror = ResumeError;
</SCRIPT>