I am displaying a web page within an iframe on my own site. The problem is that this web page has an alert on body onload.
Is there any way I can supress the alert via my iframe onload attribute?
I've tried things like iframe onload="void();" and abort();
The alert only comes up in firefox, not IE. The page has a popup onload and onunload. Basicaly when the page loads and when you attempt to close your browser it will ask you if you're sure. I want to supress both of these.
If it is from your domain then the easiest way is to remove the code from the page in the iframe (or change it so it doesn't run if the page loads in an iframe).
Stephen J Chapman
<input name="html5" type="text" required pattern="^$">