Conceal JavaScript Error Messages

 

 

If you would like to conceal JavaScript error messages, then this script will provide that exact means.

 

Script Source

 

<Place the following JavaScript in the HEAD section >

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

 

 

Please let me know if this script was helpful to you.

[rating]