屏蔽IE8 JS报错

<script type="text/javascript">

function SlyarErrors() {

return true;

}

window.onerror = SlyarErrors;

</script>

点赞