javascript - Safari: how to catch CSP exceptions -


i creating website , have appropriate csp headers set already. in code have line in following form:

<object id="some_id" data="some_data" onerror="some_stuff"></object> 

"some_data" violate csp settings, exception raised. on chrome, trigger event handler, causing "some_stuff" run. however, not happen in safari, though exception did raised when check inspector. may know need catch csp exception? want able run code once exception has been caught.

thank you!


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -