         if !showCustomContextMenu {
             return
         }
-
         let data = message.body as! [String: AnyObject]
 
         // On sites where <a> elements have child text elements, the text selection delegate can be triggered

        tab.webView!.configuration.userContentController.addUserScript(userScript)

        // Add a gesture recognizer that disables the built-in context menu gesture recognizer.
        gestureRecognizer.delegate = self
        tab.webView!.addGestureRecognizer(gestureRecognizer)
    }

            selectionGestureRecognizer?.isEnabled = false
            selectionGestureRecognizer?.isEnabled = true
        }
        selectionGestureRecognizer = nil

        var linkURL: URL?
        if let urlString = data["link"] as? String {
