         webView.scrollView.indicatorStyle = .default
         webView.isOpaque = false
         webView.navigationDelegate = self
+        webView.uiDelegate = self
         webView.addObserver(self, forKeyPath: "estimatedProgress", options: .new, context: nil)
 
         statusBarSeparatorView.backgroundColor = UIColor.black

import SnapKit
import CocoaLumberjack

class WebViewController: UIViewController, WKNavigationDelegate {
    var URLToOpen: URL

    let blurBackgroundView = UIVisualEffectView(effect:nil)


    func webViewWebContentProcessDidTerminate(_ webView: WKWebView) {
        DDLogError("[WebVC] \(#function)")
    }

    // MARK: WKWebViewUIDelegate
    func webView(_ webView: WKWebView, createWebViewWith configuration: WKWebViewConfiguration, for navigationAction: WKNavigationAction, windowFeatures: WKWindowFeatures) -> WKWebView? {
        if navigationAction.targetFrame == nil {
            webView.load(navigationAction.request)
        }
        return nil
    }

    // MARK: KVO
