阻止JavaScript报错

总有一些js写得你内牛满面。

1
2
3
4
5
function BlockError()
{
    return true;
}
window.onerror = BlockError;
Meck 09 March 2011
blog comments powered by Disqus