ShardBrowser
ShardBrowser copied to clipboard
Fingerprint override `max_touch_points: 0` is ignored: `navigator.maxTouchPoints` returns 1 (host value leaks)
Summary
The profile win-rx5700xt sets "max_touch_points": 0, but in the browser navigator.maxTouchPoints returns 1. The value appears to come from the host OS instead of the profile. A Windows desktop with a discrete RX 5700 XT GPU and no touchscreen should report 0, so this mismatch is an easy detection signal.
Environment
- ShardX engine version: 2.1.4 (latest)
- SDK version: 2.1.4
- Fingerprint profile:
win-rx5700xt
({
maxTouchPoints: navigator.maxTouchPoints,
ontouchstart: 'ontouchstart' in window,
touchEvent: typeof TouchEvent,
pointerCoarse: matchMedia('(pointer: coarse)').matches,
anyPointerCoarse: matchMedia('(any-pointer: coarse)').matches,
hoverNone: matchMedia('(hover: none)').matches,
iframeMaxTouchPoints: (() => {
const f = document.createElement('iframe');
document.body.appendChild(f);
const v = f.contentWindow.navigator.maxTouchPoints;
f.remove();
return v;
})(),
})
in v2.1.6