title: Ignore JS Uncaught exceptions in browser
body: <p>Is there a way to tell a browser, Opera or Chrome for example, not to stop scripts execution if it encounters an unhandled exception? I just need to test some JS scripts in browser but the page also includes some code for another (non-regular browser) execution environment hence modifying code as wrapping with try/catch isn't practical.</p>
  
  <p>For Chrome I've tried to put code that sets a handler function to <code>window.onerror</code> which just returns <code>true</code>, then error didn't appear in console but execution of scripts aborted anyway.</p>
  
  <p>To be specific the page contains code for Appcelerator Titanium platform, but I'm only testing general jQuery code so I'd like to do it in a browser.</p>