I'm writing an on-page chat software and I'm relatively new to these external JS issues.
My question is how can I load and run our JS on an external page and ignore / run before any existing JS errors on the given page.
Example : Our snippet is within the footer of the customers page. They release an update to one of their JS scripts and they fat finger some code and it breaks. Now our JS code will not load.
What is the best way to handle this?