This is a very practical piece of code. when the project is finished and launched, we usually disable all program errors, but the traces need to be wiped quickly. The Javascript error message is also worth disabling, how can I disable js script error messages? See the following code:
<Script language = "javascript"> function killErrors () {return true;} window. onerror = killErrors; </script>Articles you may be interested in
- Javascript asynchronous loading improves the browsing speed of web pages
- Common Javascript Verification Code collections such as js verification URLs
- Code used to test the password strength of a user input using Javascript
- Javascript shares the content with the code Summary of the websites on major social networking platforms
- Javascript determines whether the mouse is left or right-click-compatible with ie, firefox, chrome, and other major browsers
- Navicat for mysql remote connection to the mySql database prompt 10061,1045 error Solution
- Compatible with the setting homepage of IE and firefox and the JavaScript code added to favorites
- Javascript solves the issue of highly adaptive between left and right