             }
         }
     }
-
     weak var toolsetDelegate: BrowserToolsetDelegate? {
         didSet {
             toolset.delegate = toolsetDelegate

        showToolsetConstraints.forEach { $0.deactivate() }
        postActivationConstraints.forEach { $0.deactivate() }
        
        addCustomMenu()
    }

    required init?(coder aDecoder: NSCoder) {

            UIMenuController.shared.menuItems = [lookupMenu]
        }
    }
    override func canPerformAction(_ action: Selector, withSender sender: Any?) -> Bool {
        addCustomMenu()
        return super.canPerformAction(action, withSender: sender)
    }
    var url: URL? = nil {
        didSet {
            if !urlText.isEditing {
