code: function openWindow(url, name) {
    var opt = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
    glb().open(url, name, Object.keys(opt).map(function (k) {
      return "".concat(k, "=").concat(opt[k]);
    }).join(','));
  }
docs: https://developer.mozilla.org/docs/Web/API/Window/open http://www.w3school.com.cn/htmldom/met_win_open.asp#windowfeatures