苹果邮件和随行客户检测
我一直在研究如何跟踪 Apple Mail 和 Entourage 中收到的电子邮件 - 我想也许可以像使用 Outlook 和 Thunderbird 一样使用用户代理标头,但似乎不行。
Entourage 用户代理示例:Mozilla/5.0(Macintosh;U;Intel Mac OS X 10_6_6;en-us)AppleWebKit/533.19.4(KHTML,如 Gecko)
我知道您可以通过 PHP 进行跟踪在图像中使用它(并且仅在显示图像时才会跟踪)。
查看了用户代理后,唯一不同的是它显示了 webkit 版本 - 我不太确定(至少我找不到)Entourage、Apple Mail 等是否有不同的 Webkit 版本。
我还想知道是否可以包含任何独特的内容(就 CSS 而言)来生成轨道(例如,如果 Apple Mail v4,则包含此图像,否则包含该图像)。
问题是,是否有办法检测不同版本的 Apple Mail 或 Entourage?或者有人知道 Webkit 版本列表/了解与任一客户端相对应的 Webkit 编号约定吗?
I've been figuring out how to track email picked up within Apple Mail and Entourage - I thought perhaps could use the user agent header like you can with Outlook and Thunderbird, but it appears not.
Example Entourage User Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; en-us) AppleWebKit/533.19.4 (KHTML, like Gecko)
I know you can track with PHP, by using it within an image (and it will only track if images are shown).
Having looked at the user agent, the only different thing is that it shows webkit version - i'm not too sure (at least i couldn't find) if there were different Webkit versions for Entourage, Apple Mail, and so forth.
I've also been wondering if there is anything unique (in terms of CSS) that could be included to generate a track (eg. if Apple Mail v4, include this image, else include that image).
The question is, is there anyway to detect different versions of Apple Mail or Entourage? Or does anyone know of a list of Webkit versions/understand the Webkit numbering convention that correspond to either client?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Entourage 和 Apple Mail 都使用 AppleWebKit 框架,该框架生成您所看到的用户代理。 Safari 和 Chrome 似乎在 UA 字符串末尾添加文本,但 Entourage 和 Apple Mail 没有。
Entourage and Apple Mail both use the AppleWebKit framework which is what is generating the user agent you see. It appears that Safari and Chrome add text at the end of the UA string, but Entourage and Apple Mail do not.