TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

History of the browser user-agent string

36 点作者 spydez超过 16 年前

1 comment

snprbob86超过 16 年前
This is why you should test for capabilities, not agent strings. I propose a new string called "capabilities" which is a delimited list of standardized test suite sections your browser passes.<p>Of course, your browser could lie about its capabilities, as many Direct3D drivers do. And you will still need to test in every single browser, as game developers need to hire labs to test on the 150 most popular 3D cards.<p>Although, a web browser IS web-connected :-) We could have another new string which is "I swear I am actually this browser and version." and someone (<i>cough</i> Google? <i>cough</i>) could create a web service with a mapping of real browser agent string to real tested no-foolies caps.
评论 #299164 未加载