And here&#x27;s the relevant snippet from Client&#x2F;Frontend&#x2F;Browser&#x2F;Browser.swift:<p><pre><code>    func createWebview() {
        if webView == nil {
            assert(configuration != nil, &quot;Create webview can only be called once&quot;)
            configuration!.userContentController = WKUserContentController()
            configuration!.preferences = WKPreferences()
            configuration!.preferences.javaScriptCanOpenWindowsAutomatically = false
            let webView = WKWebView(frame: CGRectZero, configuration: configuration!)
</code></pre>
...