javaScriptCanOpenWindowsAutomatically property
getter/setter pair
Set to true to allow JavaScript open windows without user interaction. The default value is false.
Officially Supported Platforms/Implementations:
- Android WebView (Official API - WebSettings.setJavaScriptCanOpenWindowsAutomatically)
- iOS WKWebView (Official API - WKPreferences.javaScriptCanOpenWindowsAutomatically)
- macOS WKWebView (Official API - WKPreferences.javaScriptCanOpenWindowsAutomatically)
- Web <iframe> but requires same origin
Implementation
bool? javaScriptCanOpenWindowsAutomatically;