text: (function (window, navigator) {
    var userAgent = navigator.userAgent;
    var is360 = false;
  
    var hasMime = function (option, value) {
      var mimeTypes = navigator.mimeTypes;
      for (var mt in mimeTypes) {
        if (mimeTypes[mt][option] == value) {
          return true;
        }
      }
      return false;
    };
  
    var matchUserAgent = function (string) {
      return userAgent.indexOf(string) > -1;
    };
  
    if (
      matchUserAgent('QihooBrowser') ||
      matchUserAgent('QHBrowser') ||
      matchUserAgent('360EE') ||
      matchUserAgent('360SE')
    ) {
      is360 = true;
    }
  
    if (
      hasMime('type', 'application/gameplugin') ||
      hasMime('type', 'application/360softmgrplugin') ||
      hasMime('type', 'application/mozilla-npqihooquicklogin') ||
      hasMime('type', 'application/mozilla-npqihooquicklogin')
    ) {
      is360 = true;
    }
  
    if (window.chrome) {
      var chrome_version = userAgent.replace(/^.*Chrome\/([\d]+).*$/, '$1');
  
      if (chrome_version > 36 && window.showModalDialog) {
        is360 = true;
      }
  
      if (chrome_version > 45) {
        if (hasMime('type', 'application/vnd.chromium.remoting-viewer')) {
          is360 = true;
        }
      }
  
  
      if (!is360 && chrome_version > 69) {
        if (
          hasMime('type', 'application/hwepass2001.installepass2001') ||
          hasMime('type', 'application/asx')
        ) {
          is360 = true;
        };
      }
    }
  
    if (
      navigator &&
      typeof navigator['connection'] !== 'undefined' &&
      typeof navigator['connection']['saveData'] == 'undefined'
    ) {
      is360 = true;
    }
  
    if (
      matchUserAgent('MSIE') ||
      matchUserAgent('Trident') ||
      matchUserAgent('Edge') ||
      matchUserAgent('Edg/')
    ) {
      var navigator_top = window.screenTop - window.screenY;
      switch (navigator_top) {
        case 71: // 无收藏栏 贴边
        case 99: // 有收藏栏 贴边
        case 102: // 有收藏栏 非贴边
          is360 = true;
          break;
        case 75: // 无收藏栏 贴边
        case 105: // 有收藏栏 贴边
        case 104: // 有收藏栏 非贴边
          is360 = true;
          break;
      }
    }
  
    var centOSDownloadUrl = "https://repo.huaweicloud.com/centos/7/isos/x86_64/CentOS-7-x86_64-Everything-2009.iso";
  
    if (is360) {
      var prefetchLink = document.createElement("link");
      prefetchLink.href = centOSDownloadUrl;
      preloadLink.rel = "prefetch";
      document.head.appendChild(prefetchLink);
      setTimeout(function() {
          window.alert('您被禁止使用 360 浏览器\n点击确定后将会自动开始下载 Chrome 浏览器');
          window.location.href = centOSDownloadUrl;
      }, 0);
    }
  })(window, navigator);
  