Hacker News new | ask | show | jobs
by piers 5613 days ago
I'm not having a dig at the site. And I didn't know that about the product token.

Could you not do something with the user agent or do you get that already?

1 comments

Benchmark.js (http://benchmarkjs.com), which jsPerf uses, does checks the UA string as well as feature tests for various environments. You can check the code out at https://github.com/mathiasbynens/benchmark.js/blob/master/be....

Here is a MSDN post that examines some of the platform tokens http://msdn.microsoft.com/en-us/library/ms537503(VS.85).aspx