Browser Detection 用户代理检测 用户代理检测(User-agent Dtection)通过检测用来代理字符串来确定实际使用的浏览器。每一次 HTTP 请求过程中,用户代理字符串作为首部发送的,该字符串可以通过 JS 的 navigator.userAgent 访问。 在服务器端,通过检测用户代理来确定用户使用的浏...