Hello everyone,
I'm building an HTA and because of the fact I'm loading in external pages in an Iframe, I'm getting javascript errors from an external javascript in that page.
Now I'm trying to block these using window.onerror and returning true, but for some reason it's not working.
However the messages keep appearing.
Is there a way that I can solve this ?
Greets,
Cainnech
I'm building an HTA and because of the fact I'm loading in external pages in an Iframe, I'm getting javascript errors from an external javascript in that page.
Now I'm trying to block these using window.onerror and returning true, but for some reason it's not working.
Code:
window.onerror = function(){return true;}
Is there a way that I can solve this ?
Greets,
Cainnech
Comment