when i navigate some website using webbrower control but it show alert box from java script page's how to disable its?
A:
I'm not sure if it's possible, but if you can to inject some code into your control after you get those pages, you can override window.alert
function, like:
<script>function window.alert(){ return false; }</script>
<script>
alert("hi there") // won't show up
</script>
Rubens Farias
2009-12-23 10:00:47
A:
Brij
2009-12-23 12:18:05