Repository navigation
Let web stats count Omarchy: add "Omarchy" to the browser user agent #20177
Replies: 1 comment 3 replies
|
While getting more precise Omarchy usage data seems lucrative at first, the inherent risks and obvious problems overweigh the benefits. The main problem that I see is: tracking and fingerprinting. It is much easier to identify a person whose browser says "NixOS" rather than simply "Linux". Even if the client hints don't contain the Omarchy version, this is still quite revealing about who the user is (for ex, there are millions of "Linux" users but there are only 200,000 "Omarchy" users). The info about the exact OS a user is running will also allow attackers to target Omarchy machines specifically, which is a very large concern. The third problem is inconsistency. There is an established system of how we do things (particulary browser client hints). Changing something just to get a more accurate number? And fourthly, Omacom already has loads of data (ex. IP addresses) from all the Omarchy updates, which (most likely) gives them a more accurate number compared to browser tracking. To summarize:
|
Uh oh!
There was an error while loading. Please reload this page.
Hi! I'm Aodhan from Statcounter. We run Statcounter Global Stats (gs.statcounter.com), which measures which browsers and operating systems people use.
Omarchy has taken off fast: 200,000 Quattro downloads in its first 18 days. We'd love to track it properly and show on Global Stats how much of the Linux desktop it makes up.
Right now we can't. Omarchy's browser looks exactly like any other Linux Chromium: the user agent says
X11; Linux x86_64, and the client hints sayChromiumandLinuxwith an empty platform version. So every Omarchy machine just counts as "Linux".A small change would fix that.
omarchy-launch-browserandomarchy-launch-webappcould start Chromium-based browsers with Chromium's own user agent plus anOmarchytoken at the end, the same way Edge and Opera add theirs:Chromium can't add to its user agent, only replace it, so the launcher would build the string from the installed browser's major version on each launch. That keeps it current after updates. Roughly:
That's for Chromium-based browsers only. Firefox and Zen would need something else.
What we tested (Omarchy 4.5.0, Chromium 155.0.8059.84, in a VM):
navigator.userAgentand theUser-Agentheader.Sec-CH-UA,Sec-CH-UA-Platform,Sec-CH-UA-Mobile) don't change.--user-agentis set, Chromium blanks four of the detailed client hints: architecture, bitness, form factors and the full version list. Nothing broke on our test page, but that's the only page we tried.There's no version number in the token on purpose, so it only says "Omarchy" and adds very little to anyone's fingerprint.
If Omarchy adds it, we'll pick it up in our detection and show Omarchy as its own line under Linux on gs.statcounter.com, so anyone can see Omarchy's share for themselves. Happy to help however's useful.
All reactions