ios - UIWebView: Can I disable the javascript alert() inside any web page? -


I am using UIWebView to load the URL.

In the form of javascript, in the form of that URL, it uses the warning ("whatever msg"). My UIWebView will pop up a window and it will show a warning message.

Is there a way to disable such popup windows or JavaScript warning windows?

After adding it, its contents have been loaded in your web view

  [MyWebView stringByEvaluatingJavaScriptFromString: @ "Window. Warning = Null,"];  

Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -