新的 Safari 7 用户代理字符串 [英] New Safari 7 useragent string

查看:44
本文介绍了新的 Safari 7 用户代理字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我真的不想在这里打扰您,但由于我没有 Mac,我无法对此进行测试.

I wouldn't really want to bother you here, but as I don't have a mac I cannot test this.

我做了一个浏览器嗅探类(我知道它很糟糕,但它运行良好,不是重点).

I made a browser sniffing class (I know it's bad but it works well and is not the point).

这一切正常,但是我的同事说我最近做的一个网站上有一个错误.我想知道/看到的是是否有任何网站的链接记录了 Safari 7 用户代理字符串/原始,或者是否有人可以在此处发布 Safari 7 UA 字符串 ($_SERVER['HTTP_USER_AGENT'] 在 PHP 中).

This all works fine, however my colleague said there was a bugg on a website I recently did. All I would like to know / see is if there is a link to any website that has the Safari 7 useragent string documented / raw or if someone could post the Safari 7 UA string here ($_SERVER['HTTP_USER_AGENT'] in PHP).

我在谷歌和网站上以 useragentstring.com 的身份检查了这个,但也无法从那里获得 UA.

I checked for this on google and websites as useragentstring.com, but cant get the UA from there either.

提前致谢.

推荐答案

找到了:

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9) AppleWebKit/537.71 (KHTML, like Gecko) Version/7.0 Safari/537.71

这篇关于新的 Safari 7 用户代理字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆