Our product inserts a script into client’s websites, kind of like a live chat box.
Often, clients’ websites have buggy javascript that also stops our code (the browser stops execution when errors are encountered). Is there any way to make our code still execute even though there are errors in the console about things like undefined methods or variables?
Thanks for your help.
As others have said, continuing after an error might not be the best thing to do but you can try this:
More details here
Opera has a page with more details