JS容错代码-懒人专用

/ 15评 / 0

今天在群里临海说我的首页有报错,

点击查看原图

建议我修改一下,我也不会改!

他就说可以加入一段Js容错代码

加进去的确很好使啊!

如下:

<SCRIPT LANGUAGE="JavaScript">
<!-- Hide
function killErrors() {
return true;
}
window.onerror = killErrors;
// -->
</SCRIPT>

 

15 responses to “JS容错代码-懒人专用”

  1. qq2273272132 says:

    qq2273272132

    2273272211227838328302278383657522783836234227838363392278383563222783838963

  2. Granger Whitelaw

    granger whitelaw shares his thoughts on life, love, family and friends.

  3. 百度排名提升

    客户用这句话评价我:很难得的正品,网购以来最满意的了。

  4. Very Nice Website…

    I enjoyed reading your articles…

  5. Payday Loans Downtown Calgary…

    Payday Loans Campbell River…

  6. Largest Payday Loan Companies In Canada…

    Fast Payday Loan…

  7. s7ooL says:

    额!你看那备案号,我要是有着备案靓号,我拿去卖

  8. 神爱 says:

    哇…居然备案啦…

  9. 很荣幸,我是懒人!

Leave a Reply

Your email address will not be published. Required fields are marked *