Mimic Window. onerror in Opera using javascript

后端 未结 4 1699
眼角桃花
眼角桃花 2021-01-17 21:40

I am currently working on a web application, I have a JS logging mechanism that Handles Javascript error that are not caught by the js code inside the page. I am using windo

4条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-17 22:35

    Opera 11.60+ supports window.onerror.

    Opera's Dragonfly supports remote debugging. You might be able to hack it (it's all written in JavaScript) and log errors yourself (unfortunately the protocol isn't published yet).

提交回复
热议问题