Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

360 极速浏览器 Mac 版 12.2 无法正确检测 #47

Open
netgc opened this issue Feb 10, 2021 · 1 comment
Open

360 极速浏览器 Mac 版 12.2 无法正确检测 #47

netgc opened this issue Feb 10, 2021 · 1 comment

Comments

@netgc
Copy link

netgc commented Feb 10, 2021

您好,详细信息如下:

浏览器下载地址:
https://down.360safe.com/cse/360Browser_for_mac_12.2.1636.0.dmg
系统版本:macOS Big Sur 11.1

检测结果:
Mozilla/5.0 (Macintosh; Intel Mac OS X -1_0_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36

浏览器 版本 内核 操作系统 设备 语言
Chrome 78.0.3904.108 Blink Mac OS Mozilla/5.0 (Macintosh; Intel Mac OS X -1.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36 PC zh_CN
项目地址 Useragent分析 返回首页

360

IP 138 UserAgent分析和查询
服务端获取的UserAgent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_16_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36
客户端获取的UserAgent:
Mozilla/5.0 (Macintosh; Intel Mac OS X -1_0_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36
浏览器信息:
名称 版本号 渲染引擎 操作系统

Chrome 78.0.3904.108 WebKit 537.36 Mac OS undefined

3602

@fz6m
Copy link

fz6m commented Jun 7, 2021

var is360 = function () {
  var u = 'undefined'
  try {
    return (
      (typeof chrome != u &&
        typeof chrome.webstorePrivate != u &&
        typeof chrome.webstorePrivate.beginInstallWithManifest3 != u) ||
      ~navigator.userAgent.toLowerCase().indexOf('360ee')
    )
  } catch (e) {}
  return 0
}

可使用此代码判断 360 浏览器。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants