simevidas,
@simevidas@mastodon.social avatar

Re https://www.youtube.com/watch?v=34UScXNr6BE, can StatCounter’s numbers for Windows versions be trusted? Browsers on Windows 11 say in their User-Agent strings that they’re on Windows 10 (see https://nielsleenheer.com/articles/2024/user-agent-reduction/), so where does StatCounter even get their Windows 11 percentages from?

html5test,
@html5test@mastodon.social avatar

@simevidas probably from the User-Agent Client Hints API, which is only supported on Chromium browsers. So the numbers are certainly underreported.

simevidas,
@simevidas@mastodon.social avatar

@html5test Hm, I have my doubts that StatCounter’s script is able to accurately measure Client Hint values such as OS version that are not sent by default. What if the user visits a website and then immediately leaves? Is that enough time to get the OS version?

html5test,
@html5test@mastodon.social avatar

@simevidas I haven’t looked at their code, but it it is loading third-party JavaScript.

The Client Hints JavaScript API would work in that case. Basically the same thing as I do here to determine the Windows version:

https://nielsleenheer.com/articles/2024/the-user-agent-client-hints-api/

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • ethstaker
  • DreamBathrooms
  • normalnudes
  • magazineikmin
  • InstantRegret
  • GTA5RPClips
  • thenastyranch
  • Youngstown
  • rosin
  • slotface
  • osvaldo12
  • ngwrru68w68
  • kavyap
  • everett
  • megavids
  • Durango
  • Leos
  • cubers
  • mdbf
  • khanakhh
  • tester
  • modclub
  • cisconetworking
  • anitta
  • tacticalgear
  • provamag3
  • JUstTest
  • lostlight
  • All magazines