docs: function proxy(e) {
          var element = e.target,
              parent = element,
              selector = appOptions.selector;
  
  
          while (parent !== document.body) {
  
              if (matchSelector(parent, selector)) {
  
                  urlAttr = parent.tagName.toLowerCase() === "a" ? "href" : "data-href";
  
  
                  url = parent.getAttribute(urlAttr);
  
                  // 验证url, 可以自行配置url验证规则
                  if (validateUrl(url)) {
                      e.stopPropagation();
                      e.preventDefault();
  
                      var opt = {
                          replace: parent.getAttribute("data-replace") || false,
                          containerId: parent.getAttribute("data-area") || 'pager',
                          pagelets: parent.getAttribute("data-area") || 'pager',
                          target : parent
                      }
  
                      redirect(url, opt);
                  }
                  return;
              } else {
                  parent = parent.parentNode;
              }
          }
      }