News for hackers. Stuff that matters.
Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by Aurornis on Sunday July 12, 2026 @05:30PM (#48885018)
> One tanh call on the right input is a per-OS signature. Claim macOS, return Linux math bits, and you have contradicted your own User-Agent.

They (or rather the LLM that wrote this) missed that this is possibly fingerprintable to browser version range, which is slightly more interesting. Most users aren't spoofing their user agent headers to be a different operating system. Most fingerprinting solutions aren't trying to infer your operating system, they only care about semi-unique things that show up.

It's an interesting finding. I wish they had taken some time to have a real person write it up. This is too heavily LLM written to ignore.

Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by jeroenhd on Sunday July 12, 2026 @05:35PM (#48885055)
> Most users aren't spoofing their user agent headers to be a different operating system.

The people behind the LLM behind this blog post are. They're trying to pretend their robots are people to sell other websites' data to their customer. It's easier to pass bot detection gates if you pretend to be a physical machine running Windows or macOS than if you honestly admit you're using Linux on a VM.

Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by acters on Sunday July 12, 2026 @06:10PM (#48885354)
It's sometimes easier to lie than to tell the truth, and being on Linux telling the truth gets me more scrutiny than those pretending to be legit.
Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by genxy on Monday July 13, 2026 @12:03AM (#48887767)
Same as sites the block "wget" as a user agent, but then you can pass in a -U "Cheetos/10" and sail right in.

I'd be fine if they throttled the connection, or a contact page. Every little bit helps build a high trust society.

Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by baby_souffle on Sunday July 12, 2026 @07:33PM (#48885960)
Some scrape activity happens because I can't obtain the data any other way. I would be thrilled if certain retailers had price and availability data as an API so I could not bother with the bulk of scrape and process.
Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by greggsy on Sunday July 12, 2026 @11:36PM (#48887578)
As much as I would like pricing APIs as well, the economics don’t add up for retail, and it would effectively lead to a scalper’s market.

A regular Joe consumer shouldn’t have to learn python to get thier foot in the door because some arbitrage purchaser has automated a ‘best deal’ purchasing bot based on real time pricing APIs.

Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by nradov on Sunday July 12, 2026 @07:38PM (#48886001)
The HTTP User-Agent header was a mistake from the beginning. There is no legitimate need for the server to know what software the client is (or claims to be) running.
Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by parasense on Sunday July 12, 2026 @07:58PM (#48886168)
It certainly wasn't a mistake in the beginning, but it's certainly a mistake now.
Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by thaumasiotes on Sunday July 12, 2026 @11:40PM (#48887612)
It was a mistake in the beginning too. If you want to serve different content to different people, you use two different URLs. There's never a valid case for doing it while hiding it from the user.
Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by sroussey on Sunday July 12, 2026 @11:58PM (#48887731)
No, that misses the whole point of content negotiation (for language, et al). In the age of search engines though, different urls are often perferable.
Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by thaumasiotes on Monday July 13, 2026 @06:45AM (#48890677)
> No, that misses the whole point of content negotiation (for language, et al).

There's been some pushing for browsers to automatically decide what language you want to view a webpage in, and that is even more insane than the User-Agent header is. The correct solution for content that exists in multiple languages is to make each language available at its own URL. Just like I already said. Why in the world would you want to lose the option to select the language you want?

Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by esrauch on Sunday July 12, 2026 @07:55PM (#48886143)
I feel like this is with 2026 view where browsers are so mutually compatible.

In the bad old days there were so many differences between html, css and js behaviors that if you wanted your site to be nice you had to change it for the browser. The way css padding worked wasn't even the same. Feature detection was rarely viable for any of this.

No user agent would probably have only entrenched IE6 dominance even more by blocking you from deliberately making a site that works at all on other browsers (including IE7 for that matter)

Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by nradov on Sunday July 12, 2026 @08:12PM (#48886269)
I'm aware of that history and the User-Agent header was a mistake even back then. It took the pressure off of browser vendors and gave them an excuse to not fix their bugs.
Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by tyami94 on Sunday July 12, 2026 @09:27PM (#48886758)
road to hell is paved with good intentions. one could argue it would've made browser vendors fix their bugs, but with the side-effect that any behavior that isn't bug-compatible with IE becomes a bug. this would've ironically entrenched IE permanently.
Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by smaudet on Sunday July 12, 2026 @10:15PM (#48887051)
The mistake was not claiming features rather browser client versions...

JS devs were kinda able to patch around the nonsense because they were able to feature-detect - part of the reason this stuck around was because no legitimate user or dev cared (or should care). But the header was mostly (useless) noise, and the people spoofing were dealing with the couple bad apples of the time.

Of course, defining features is easier said than done, and a standards body is a challenging environment to define these in...

I get why people are fingerprinting bots and others are working around it, but neither are "legitimate" applications - if your content is public, it's public, end of story. And working around these controls to sell botnet access to sites is equally illegitimate - nobody has a right to resell content they do not own...

Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by esrauch on Monday July 13, 2026 @04:20AM (#48889476)
I just can't see how it could make sense to define features when a ton of the the behavior wasn't even intentional but just tons of bugs. I recall debugging issues that only reproduced in "IE7 compatibility mode of IE8" which didn't reproduce in either IE7 or IE8. And that was already after the standards were taken at all seriously
Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by 14113 on Sunday July 12, 2026 @08:15PM (#48886292)
> I feel like this is with 2026 view where browsers are so mutually compatible.

I wish this was the case. Unfortunately, companies that work on non-Chromium browsers need to employ dedicated web compatibility teams to either a) help website users fix non-standard (i.e. Chrome only) HTML/CSS/JS, or b) replicate Chromium-like behaviour for specific (very popular) websites so that they work "correctly".

There's also the websites that deliberately block certain browsers which is what tools like "chrome-mask"[1] are built to solve.

[1] https://addons.mozilla.org/en-GB/firefox/addon/chrome-mask/

Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by saghm on Monday July 13, 2026 @12:56AM (#48888095)
And you can see how well that worked by how many user-agents are such a sane, terse description of the browser rather than a hodgepodge of random words that give the impression that they're trying to seem like every browser at once.
Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by esrauch on Friday July 17, 2026 @06:24AM (#48945530)
Sure that part is a specific problem which is that new browsers basically want to declare their hacks profile against people who have already written sites and won't update them.

In practice when you make your new set of hacks the string you can always evaluate whatever cruft in the useragent today, but next browser shows up.

It does make the user agents insane but I don't know if there's any obviously better system for the problem, even with hindsight

Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by pocksuppet on Monday July 13, 2026 @01:39PM (#48896109)
> browsers are so mutually compatible.

Not really, there's just only one browser (Chrome). Firefox has declined so low it's a rounding error, and all other browsers are Chrome forks.

Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by Ferret7446 on Sunday July 12, 2026 @11:05PM (#48887370)
There is actually/obviously. It lets you identify bugs in well meaning clients. e.g. you can identify if IE v1.2.3 isn't handling form submissions correctly. It lets you serve content that works for clients with known issues or limitations.
Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by 1vuio0pswjnm7 on Sunday July 12, 2026 @11:21PM (#48887483)
"The HTTP User-Agent header was a mistake form the beginning."

User-Agent spoofing was added to NCSA Mosaic in 1996. The public www was three years old and text-only clients were still in widespread use

https://raw.githubusercontent.com/alandipert/ncsa-mosaic/mas...

NCSA Mosaic is the early graphical browser that begat Netscape Navigator that begat Firefox. Later came Internet Explorer, Safari, Chrome and so on

What was the point of spoofing in 1996

Several years ago, Google indicated it was going to "deprecate" the user-agent header in Chrome

As a matter of practice, by default I do not send a user-agent header. I only send the minumum headers required. For me, that's almost always 1-2 for GET and 4 for POST

For the vast majority of websites I have accessed,^1 this header minimisation has zero effect on the success of the HTTP request

1. For example, I have used a database of sites submitted to HN as way to test if header minimisation affects HTTP request success

Generally I do not use a web browser to make HTTP requests. I perform text processing on the HTML, JSON or whatever is returned, using custom utilities. I store information in SQLite. I read this information as plain text, preferably 7-bit ASCII. I dislike UTF-8

Onlilne debates about "browser fingerprinting" always seem to focus on trying to "blend in", e.g., via "spoofing"

As such, because browser continue to get more bloated with "features", online commenters argue in favor of sending more and more data points to servers that can be used to create a fingerprint instead of reducing the amount of data sent

Because, according to their reasoning (or lack thereof), sending less data would "stand out"

True, but it's generally easier to "spoof" a client that sends less data than one that sends more. And the number of sites that require a user-agent header is still smaller than the number that don't

Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by Chu4eeno on Monday July 13, 2026 @09:13AM (#48892175)
I take it you either have a godly IP reputation, or you don't hit 90% of the current internet which is behind cloudflare, google, akamai, etc?

They're pretty brutal in blocking non-browsers, I tend to have to add a lot of useless headers.

Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by 1vuio0pswjnm7 on Monday July 13, 2026 @04:36PM (#48898471)
According to their /clientrep-lookup database the IP address I am using has no reputation

Blocking "non-browsers" and blocking IP addresses are two different things, so to speak

The first is based on dumb heuristics and (incorrect) assumptions about behavior based on what software someone is (mistakenly) presumed to be using

The second is based on past behaviour

I send the minimum HTTP headers

I only request what I want; I do not send requests for ads, tracking or telemetry

I accept text formats, e.g., HTML, JSON, etc.

No need for images, CSS, Javascript, etc.

Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by 1vuio0pswjnm7 on Tuesday July 14, 2026 @02:38PM (#48911257)
https://www.akamai.com/us-en/clientrep-lookup

IMO, there is a fundamental difference between (a) not using the data collection, surveillance and advertising-friendly software, i.e., popular graphical web browsers controlled by so-called "tech" companies that, surprise, said so-called "tech" companies and their business partners want people to use and (b) engaging in bad network behaviour, what some used to call poor "netiquette"

The heuristics used to allegedly identify bad behaviour, for example, sending the "wrong" value in a User-Agent header, are beyond stupid

But the false positive totals, "collateral damage", are apparently not large enough to matter

https://seclists.org/nanog/2025/May/246

Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by 1vuio0pswjnm7 on Monday July 13, 2026 @10:56AM (#48893708)
HN replies sometimes (often) include statements unsupported by evidence

For example, something like "90% of the current internet is behind Cloudflare, Google, Akamai, etc."

The www is only subset of the internet and "90% of the internet" does not use a CDN

In any event, even if "internet" means "www" there is no evidence to support this statement

https://www.netcraft.com/blog/may-2025-web-server-survey

Further, being "behind Cloudflare, Google, Akamai, etc." does not necessarily mean a User-Agent header is required

For example,

https://www.cloudflare.com does not require a UA header

https://example.com is "behind CF" and does not require a UA header

https://www.google.com does not require a UA header

https://developers.akamai.com does not require a UA header

And so on

Individual www users, unless doing mass scanning or the like, probably do not access 100% of the www's sites (according to Netcraft, most are inactive)

More likely, individuals access only a fraction of the active sites

It's unlikely that individuals access exactly the same list of websites^1

For me personally, the vast majority of sites that I access do not require a UA header

The sample set I use as evidence to support comments I make about this on HN is a list of all sites submitted to HN over a recent period.^2 Currently this is 12,641 sites

1. To have a meaningful discussion about UA header requirements, a sample set of sites must be agreed upon

2. Perhaps HN readers access these sites and possibly access some of the same sites. Of course it's also possible that there are HN commenters who do not actually access HN submissions and instead only read comment threads and submit replies

https://news.ycombinator.com does not require a UA header

Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by 1vuio0pswjnm7 on Monday July 13, 2026 @01:49PM (#48896225)
NB. Akamai does not require any specific value for the User-Agent header nor the presence of this header

For example, https://www.apple.com does not require a UA header

For example, http://www.slackware.com does not require a UA header. However, it does require Accept and Accept-Encoding headers

This site can also be accessed over HTTPS

Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by chrismorgan on Monday July 13, 2026 @12:15AM (#48887844)
When distributing software, it’s very useful to know which OS and which architecture the user is on in order to present them with the appropriate file.
Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by NetMageSCW on Monday July 13, 2026 @11:39AM (#48894371)
Or you could let the user decide since you have no idea what system they want to execute the software on, just what system they are using to browse your site.
Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by chrismorgan on Monday July 13, 2026 @02:23PM (#48896676)
The overwhelming majority of the time (typically far higher than 99% of the time), if they hit a download button, they want it for their current platform.

And detecting their platform doesn’t stop you from presenting supplemental links for all platforms. In fact I’d say that’s completely normal.

Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by reactordev on Sunday July 12, 2026 @05:57PM (#48885231)
The Internet is a cesspool of scams now
Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by pocksuppet on Sunday July 12, 2026 @06:17PM (#48885428)
scraping, however, is not intrinsically a scam.
Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by mplewis on Sunday July 12, 2026 @06:20PM (#48885454)
It is when you're doing it like the LLM companies are: at scale, to the degree that you're taking down my site, without my consent by masking your user-agent, for the purpose of stealing data I didn't authorize you to have.
Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by Bender on Sunday July 12, 2026 @07:18PM (#48885872)
I documented some crude methods that can stop most of that without a CDN. [1] There will be some false positives so I guess it depends on ones priorities which methods if any to implement or test on a throw-away test site. Not perfect, nothing is. I am watching hundreds of bots sending SYN's and the daemons are oblivious to them. The only method I have not played around with yet is #7 ssl fingerprinting.

There are additional methods I chose not to document such as limiting access to logged in accounts that require double-opting-in to acceptable use policies and terms of use, not that most scrapers would give a toss. That it too much whack-a-mole for me personally. That method requires progressively adding friction to account creation and that comes with some pros and cons.

[1] - https://nochan.net/b/Internet-Crap/20260606-How-To-Block-Som...

Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by parasense on Sunday July 12, 2026 @08:02PM (#48886191)
I think the key word was "intrinsically".

It's like public photography, it's intrinsically legal, except when it's a Flock camera and then it's suddenly an invasion of privacy.

Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by nativeit on Sunday July 12, 2026 @08:43PM (#48886474)
A Flock camera isn’t an invasion of privacy. Fleets of hundreds or thousands of Flock cameras feeding into a massive dataset is definitely an invasion of privacy, and hardly sudden.
Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by tadfisher on Sunday July 12, 2026 @09:01PM (#48886599)
More precisely: pinpointing you at a given place and time does not need a warrant. Collecting many such pinpoints, allowing authorities to reconstruct your exact movements at some point in the future (without needing to flag you or issue a BOLO or whatever), does.
Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by nradov on Sunday July 12, 2026 @07:42PM (#48886037)
What data is being stolen? Are you referring to copyright violation or something else? If you don't want LLM companies to scrape a site then just restrict access to authorized users. Simple.
Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by kdheiwns on Sunday July 12, 2026 @11:21PM (#48887485)
This is the same mindset of criminal in a low trust society btw

"If you didn't want me to do this, you should had a fence/cameras/security guards. You shouldn't have dressed like that. You shouldn't have put your phone in that pocket."

Excusing trillion dollar corporations like low level criminals is embarrassing. Society shouldn't have to lock itself up because bad actors are spreading everywhere. The bad actors should just be removed.

Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by nradov on Sunday July 12, 2026 @11:39PM (#48887600)
Relax buddy, it's just HTTP requests. They're not stealing your phone.
Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by reactordev on Monday July 13, 2026 @07:40AM (#48891144)
you never heard of HTTP request smuggling or XSS then... Let alone being able to fingerprint and dump all your browser history and session data, cookies, etc.
Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by jeroenhd on Monday July 13, 2026 @03:08AM (#48888947)
That's what's being done, isn't it? Fingerprinting technologies and proof of work are trying to authorize people and block bots. Unfortunately, companies like these are trying to bypass the authorization controls.

If these scraping companies would respect some kind of X-Scraping-Permitted header, this whole process would be a lot better, but that's not going to happen in an industry that has already normalized using botnets.

Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by lsaferite on Sunday July 12, 2026 @06:37PM (#48885584)
Unfortunately the response to that right now is to nuke everything that isn't within a strict set of constraints. That helps with the bad bulk-scrapers, but hits everyone else as well as collateral damage.
Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by VorpalWay on Sunday July 12, 2026 @06:44PM (#48885632)
Something like Anubis in front of the server to protect it might be an option. It sucks that we have to resort to that yes, but it seems the least bad option currently (better than the entire internet going through Cloudflare at least).
Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by flexagoon on Sunday July 12, 2026 @07:27PM (#48885917)
You can just use one line of JS instead

https://fxgn.dev/blog/anubis

Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by userbinator on Sunday July 12, 2026 @06:50PM (#48885676)
The idiotic "stealing" argument again? At least use "piracy" if you want to be correct...

The moment you openly publish information on the Internet, you have already given consent. There are other solutions to bandwidth usage.

User-agent discrimination should be illegal. All it does is further the control that Big Tech has, and help authoritarian governments with their control too.

Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by pdpi on Sunday July 12, 2026 @06:57PM (#48885729)
As with anything IP-related, the data is licensed under whatever terms you choose to impose. That’s the extent of the consent you’ve provided.
Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by Asraelite on Sunday July 12, 2026 @07:14PM (#48885840)
Permission to access is not the same as permission to use.
Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by NetMageSCW on Monday July 13, 2026 @11:42AM (#48894418)
Reading is using.
Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by Asraelite on Monday July 13, 2026 @01:14PM (#48895782)
No it's not. There is a legal distinction in IP law between the act of observing information and the act of using that information for some kind of personal gain.
Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by matheusmoreira on Sunday July 12, 2026 @08:47PM (#48886500)
> User-agent discrimination should be illegal.

Couldn't agree more. Nonsense like remote attestation too. If this discrimination persists, it will lead to the destruction of what little computing freedom we still have.

Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by matheusmoreira on Sunday July 12, 2026 @08:40PM (#48886452)
> at scale, to the degree that you're taking down my site

Fair. Scrapers should be polite and do their utmost to consume the smallest possible amount of resources.

> without my consent by masking your user-agent

Your consent is not required. It's my user agent. I set it to whatever I want.

> for the purpose of stealing data I didn't authorize you to have

Data can't be "stolen", only copied.

You set up an HTTP server that literally sends people the data when they request it. Don't do that if you don't want people to have the data. Secrecy is the only possible defense.

Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by lixtra on Sunday July 12, 2026 @09:24PM (#48886742)
> You set up an HTTP server that literally sends people the data when they request it. Don't do that if you don't want people to have the data.

By the same argument I could say: If I send you an exploit and you execute it, don’t complain that your setup fell for it. Just don’t download and run random data from the internet.

In reality there’s a consent and expectation beyond the pure technicals.

Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by matheusmoreira on Sunday July 12, 2026 @09:28PM (#48886765)
> Just don’t download and run random data from the internet.

I don't. I go out of my way to filter everything. Scraping is but one of the tools I use to do it. I want just the data that I actually care about, not people's javascripted hot mess websites full of malware-vectoring ads, fingerprinting and tracking.

I don't let my computers talk to strangers either. My servers don't respond to just anyone, they only reply to me, and only after I've cryptographically authenticated. When others try to talk to them it's like they're not even there.

But people want their computers to talk to strangers, don't they? They want to serve pages and pages of ads to massive audiences. Unlike your exploitation example, nobody's actively invading their computers and exfiltrating data. Breaking into someone else's computers and dumping their private databases is one thing. We're just requesting the exact same data that they're more than happy to send out to literally anyone who shows up with a browser, through the exact same channels even. So I really have no sympathy.

Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by pocksuppet on Monday July 13, 2026 @04:56PM (#48898748)
The expectation with scraping is that you won't cause excessive server load. The "AI" scrapers are not respecting that. But there are plenty of other scrapers that do.

Here's some stuff on Adversarial Interoperability, which is an incredibly good thing that can reverse enshittification if it becomes more widespread: https://www.eff.org/deeplinks/2019/10/adversarial-interopera...

Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by oasisbob on Monday July 13, 2026 @12:56AM (#48888096)
> Data can't be "stolen", only copied

Though, scrapers can certainly steal capacity through conversion for their own use. When they do so, they permanently deprive the site owner and other users the beneficial use of that capacity at that time.

I'm speaking morally, not legally. Though, in the US at least, there are parallels with free newspapers. You're allowed to take one for free. It's not legal to clear the whole rack.

Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by matheusmoreira on Monday July 13, 2026 @10:05AM (#48892915)
That's a much better argument, and one I agree with. Scrapers should be polite and consume the least amount of resources possible, ideally less than what a person would consume by browsing the website normally.
Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by pocksuppet on Monday July 13, 2026 @10:19AM (#48893149)
That isn't the type of scraping being discussed here.
Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by duped on Sunday July 12, 2026 @07:23PM (#48885900)
No it's just intrinsically antisocial behavior
Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by GaryBluto on Sunday July 12, 2026 @07:34PM (#48885979)
Scraping has never "intrinsically" been anti-social behaviour, you just don't like it.
Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by d1ss0nanz on Sunday July 12, 2026 @06:05PM (#48885302)
Always was.
Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by Mistletoe on Sunday July 12, 2026 @07:40PM (#48886021)
Has the internet made the average human’s life better? As someone that lived in both eras I have to say no. If you want to improve humanity greatly and prevent currently 8.3 billion people’s misery and counting, you build a time machine and prevent Tim Berners-Lee from inventing it in the first place. But it wouldn’t help, because someone else would still invent this torture nexus of hyperconnected human minds.
Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by matheusmoreira on Sunday July 12, 2026 @08:53PM (#48886546)
The internet was amazing before the big techs started centralizing everything, before governments started fragmenting it into censored regional networks...
Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by NetMageSCW on Monday July 13, 2026 @11:43AM (#48894432)
Ask those who had no medical assistance before the Internet. Or ask Ukraine.
Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by vlovich123 on Sunday July 12, 2026 @08:39PM (#48886441)
This tanh approach won’t tell you if you’re in a VM - it’ll report the guest OS
Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by zx8080 on Sunday July 12, 2026 @09:17PM (#48886704)
Infinite captcha welcomes those who are using FF and linux on stackoverflow. Easier to skip its links in search results than waste time solving it (captcha never finishes).
Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by doctaj on Sunday July 12, 2026 @10:30PM (#48887151)
I get them all the time on Firefox on windows using a vpn.
Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by zx8080 on Sunday July 12, 2026 @11:04PM (#48887366)
Overriding useragent to chrome fixes it for some sites.
Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by preg_match on Wednesday July 15, 2026 @01:44PM (#48924513)
I have a user-agent switching extension, and I use it because some websites like to claim up and down "ohhh we don't work on Firefox!" but then you switch to chrome's user-agent and - surprise! - no bugs at all.

I mean, I get it, saying you support something is technically a commitment. But my goal is to basically never open a chromium browser, so, I'm gonna do what I have to do. And you would be shocked, in the past 5 years I have only encountered ONE website which legitimately required a chromium browser. grapheneos.com, for the web usb installer.

Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by joahnn_s on Sunday July 12, 2026 @06:19PM (#48885452)
You can only assert >148 at the moment, but there are better vectors to strictly assert the version by simply checking the addition of v8/blink on each chromium version (and since ~120 it's the case), so by checking if xxx is present and yyy is not present in js userland or css feature, the inference is 100% for the major version

And for the LLM writing, yes, it's written in the article and blog, it's not hidden or pretending, otherwise I would never publish an article due to lack of time, and I stand by it

Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by Arch-TK on Sunday July 12, 2026 @07:14PM (#48885842)
It takes less time to write the prompt, you could just publish that?

It's an important topic, and I am glad you wrote about it, but even half a page of notes would have been enough to convey this. It would save me literally skim reading headings just to get past all the fluff.

Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by rootusrootus on Sunday July 12, 2026 @09:31PM (#48886788)
Isn’t “just post the prompt” a joke? That only works if the content was one-shot, and I bet that (much like code) most isn’t.
Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by Arch-TK on Monday July 13, 2026 @08:24AM (#48891639)
I didn't mean it completely literally. But presumably you have an idea for a post outline:

* Title

* Brief

* Table showing the issue

* Notes about CSS/JS disparity

* An idea for why it happens.

* The idea/code for a solution.

This could just be:

Chromium allows websites to figure out your OS using math functions

Chromium's implementation of Math.tanh and CSS trigonometry functions since version 148 uses the host libc implementation. This is a problem because libc implementations vary between operating systems and can produce slightly different results on different platforms (and potentially even different versions of the same platform). This can be used to accurately distinguish between Linux, MacOS and Windows.

Here's a table showing the issue with Math.tanh:

...

For javascript, so far it's only Math.tanh that uses the system libc, the rest of the functions are implemented in V8. But for CSS it's worse, all functions use the libc versions.

Since math should be deterministic, it would be an improvement to privacy as well as platform uniformity to have V8 implement tanh and have the CSS use those implementations too. <side>Notably there are also some quirks in Web Audio. ...</side>

Here's some code which when compiled with `-ffp-contract=off` will produce the same MacOS result on all the other platforms Chromium supports. One option is to just unify the results, another is to make them match the claimed platform.

...

---

It took me 10 minutes to draft the above. With the effort it probably took to prompt that blog post, you could probably get it proofread, generate the table if you have access to the right boxes but don't have it already. And produce the right code with a test harness, verify it.

It's a lot shorter, but that's because the post doesn't really have that much content. There's huge quantities of fluff, the entire "Four Traps" section is so incoherent that I still don't get what it's trying to say after trying to read it 4 times on two different occasions.

Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by georgemcbay on Sunday July 12, 2026 @06:51PM (#48885685)
> otherwise I would never publish an article due to lack of time, and I assume

Didn't even have time to finish their HN reply.

Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by phyzome on Sunday July 12, 2026 @09:52PM (#48886920)
Do what people did before there were LLMs: Just post the data and some quick notes. It's fine, people appreciate the brevity.

Disclosing is great, but not as good as just using your own human voice.

Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by biofunsf on Sunday July 12, 2026 @10:45PM (#48887227)
In your old comment (which i remembering seeing at time), you seem to recommend scrapy.io and highlight its benefits without disclosing that you're behind it: https://news.ycombinator.com/item?id=46088621

seems like the "they" you meant was really "I".

Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by tripzilch on Monday July 13, 2026 @05:46AM (#48890160)
I had to hunt for it that's not clear at all, and if you don't care to spend the effort of writing it, why would anyone want to spend the effort of reading it.

> I stand by it

That's cute, but seriously who cares if you stand by any of "your" words, if you care so little about them to have them be generated by an LLM.

Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by constantius on Monday July 13, 2026 @06:34AM (#48890570)
As another comment points out, you added the disclaimer after publishing (and probably the backlash):

https://web.archive.org/web/20260712212920/https://scrapfly....

So you don't seem to stand by anything apart from swindling.

Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by comex on Sunday July 12, 2026 @06:25PM (#48885495)
This can be used to fingerprint version range, but so can a million other things. Browsers are constantly adding new features and fixing bugs, most of which can be detected from JavaScript.
Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by userbinator on Sunday July 12, 2026 @06:44PM (#48885630)
The LLM has a good point. I personally don't care what or who wrote it if it's true.
Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by cookiengineer on Sunday July 12, 2026 @11:50PM (#48887680)
Fun fact that will blow your mind:

Microsoft decided to send Windows NT 10.0 in the User-Agent header even on Windows 11 for compatibility reasons. That's literally the reason why the Sec-CH-* headers say Windows 11 but the User-Agent says Windows 10.

And regarding your claims of vendor interests: Nope, you seemingly never had to use O365 crapware on Linux browsers. They make it as painful as possible, and even disable copy/paste functionality when your User-Agent and Sec-CH headers say Linux. Identical browser with an extension that overrides the fingerprinting headers and it works perfectly.

Also as an additional note: Cloudflare does TCP fingerprinting, because no cloudflare pages will work (and send you into an infinite loop of unsolvable captchas) when these headers mismatch with the tcp window and other options in the handshake frames.

Source: am maintaining my chromium-profiles tool that generates farbled profiles with a generated extension, so that I can use shitty Microsoft products because my customers are not really the smartest policy decision makers.

PS: I will never use a separate laptop with a separate OS to use a damn web app. That is a completely unjustified waste of hardware resources and should be illegal. But here we are. Wasting one laptop at a time for absolutely no reason.

[1] https://github.com/cookiengineer/chromium-profiles

Re:Since Chromium 148, Math.tanh is now fingerprintable to l... by cute_boi on Monday July 13, 2026 @02:33PM (#48896811)
After reading this I am sure 90% of text is from AI. This is so annoying to read.