/// <summary> /// Sets whether JavaScript can open windows without user interaction. /// /// By setting this to `true`, an automatically JavaScript navigation will be allowed in the web view. /// </summary> /// <param name="flag">Whether JavaScript could open window automatically.</param> public static void SetAllowJavaScriptOpenWindow(bool flag) { UniWebViewInterface.SetAllowJavaScriptOpenWindow(flag); }