 class Interface
   debug:
     config: false
+    selector: false
 
   constructor: (@config) ->
     @element = null

      selectors = [ "a[target=_blank]", "a[href~=http", "a[href~=https]", "a" ]
      selectors = [ (Common.stringToArray @config.activators)..., selectors... ] if @config.activators
      for selector in selectors
        try
          if candidate = element.querySelector selector
            activate candidate
            return

Config =
  lookup: (configs, callback) ->
    url = document.location.toString()


    if action == "enter"
      element = @element ? document.activateElement
      if not element and @config.activeSelector
        element = @querySelector document, @config.activeSelector
      return unless element
      return unless Common.isInViewport element

      @activateElement element, event

    else if action in [ "up", "down" ]
      return if @config.nativeJK
