logoalt Hacker News

qurrenyesterday at 9:54 PM4 repliesview on HN

just inject this with your favorite JS injection plugin

    let oldTanh = Math.tanh;
    Math.tanh = x => oldTanh(x) + Math.random()/10000000;

Replies

Klonoaryesterday at 10:53 PM

Multiple anti-bot vendors will detect that replacement and use it as part of their fingerprinting process.

chjjyesterday at 10:07 PM

it's elegant, but i prefer:

    Math.tanh = Math.random;
sanxiynyesterday at 10:06 PM

The article addresses this: search for "No noise".

show 1 reply
gruezyesterday at 10:21 PM

Great, now you'll be outed as "hides fingerprint", which is probably more identifying than if you returned a normal value.

show 1 reply