In PHP and other languages there are ways to suppress error/warning messages.
Is there a way in javascript or jquery to prevent errors and warnings from being writte
This is browser based functionality, you may install any addon for browser then you can hide errors/ warnings
I went to about:config for Firefox and turned javascript.options.strict to false and the warnings went away. But I feel like this is not a solution.
about:config
javascript.options.strict
howtocreate.co.uk/strictJSFirefox.html