I found this code snippet which overrides the window.alert function to prevent an infinite loop.
window.alert = function(s) {
if(!confirm(s))
window.alert = null;
}
if(!confirm(s))
window.alert = null;
}
I found this code snippet which overrides the window.alert function to prevent an infinite loop.
by
Tags:
Leave a Reply