Short question: Is it possible to detect window.open() in a UIWebView using the UIWebViewDelegate or is there another way to reach thi
window.open()
UIWebView
UIWebViewDelegate
You need to overwrite window.open() using JavaScript:
[webView stringByEvaluatingJavaScriptFromString:@"window.open = function (open) { return function (url, name, features) { window.location.href = url; return window; }; } (window.open);"];