Modern anti-bot stacks score consistency, not single signals. Your proxy provides the exit IP; the browser volunteers everything else. When they disagree, the score spikes:
| Signal | Browser reveals via | Must agree with |
|---|---|---|
| Timezone | Intl.DateTimeFormat().resolvedOptions().timeZone | Exit IP country |
| Locale / language | Accept-Language, navigator.language | Exit IP country |
| Geo permissions | navigator.geolocation | Exit IP geo (or disabled) |
| WebRTC | STUN-discovered local & public IPs | Must not leak your real IP |
| DNS | Resolver location of domain lookups | Proxy side (use socks5h) |
Test what your browser admits
Paste this in the console (or a page you control) while proxied:
console.log("timezone:", Intl.DateTimeFormat().resolvedOptions().timeZone);
console.log("locale:", navigator.language, navigator.languages);
console.log("UA:", navigator.userAgent);
// fetch your exit geo
fetch("https://ipinfo.io/json").then(r => r.json()).then(console.log);
If timezone says Asia/Shanghai but ipinfo says United States, every serious target can see the mismatch.
Playwright: the full consistent setup
One block aligns proxy, timezone, locale and geolocation:
const ctx = await browser.newContext({
proxy: { server: "http://USER:PASS@GATEWAY:PORT" },
timezoneId: "America/New_York", // match exit country
locale: "en-US", // match exit country
geolocation: { latitude: 40.7128, longitude: -74.006 },
permissions: [], // do NOT grant geolocation
userAgent: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) ...",
viewport: { width: 1366, height: 768 },
});
geolocation permission with coordinates that match the IP is fine; leaving it default-prompt is also fine. What kills you is granting permission and then reporting your real location.WebRTC: the classic leak
WebRTC discovers your interfaces via STUN, bypassing the HTTP proxy entirely. In Chromium:
chromium.launch({
args: [
"--proxy-server=http://GATEWAY:PORT",
"--force-webrtc-ip-handling-policy=disable_non_proxied_udp",
"--disable-features=WebRtcHideLocalIpsWithMdns",
],
});
In real Firefox/Chrome, extensions like WebRTC-Leak control are more reliable than flags. Verify at any STUN test page: the reported public IP must be the proxy's, and no local LAN IPs should appear.
DNS: prefer socks5h everywhere
With plain socks5:// (or an HTTP proxy for browser traffic), lookups often resolve locally — leaking which domains you visit to your local resolver and routing CDNs to the wrong region. socks5h:// moves resolution to the proxy. Browser caveat: most desktop browsers only support SOCKS proxies without remote DNS guarantees — a local forwarder (e.g. a tun2socks-style client) that resolves remotely is the robust fix.
What fingerprinting does NOT depend on
- Canvas/WebGL/fonts — these identify the browser instance, not your network. They matter for staying anonymous across visits, not for IP/geo consistency. Changing them without changing other signals creates its own outliers.
- Incognito mode — clears cookies, changes nothing above. It is not an anti-fingerprint tool.
FAQ
Does incognito mode hide my fingerprint?
No. Incognito clears cookies and storage but exposes the same timezone, locale, WebRTC and canvas fingerprint. It is not an anti-fingerprint measure.
Why does my timezone matter if I use a US proxy?
Anti-bot systems cross-check signals. A browser clock on GMT+8 behind a US exit IP is a strong automation indicator because real users rarely show that combination.
How do I stop WebRTC leaks with a proxy?
In Chromium use --force-webrtc-ip-handling-policy=disable_non_proxied_udp; in daily browsers use a WebRTC-blocking extension. Then verify on a STUN test page that the public IP shown is your proxy's.
Which proxies support city-level targeting?
Residential gateways usually do. IPLight's rotating residential pool covers 170+ countries and regions and publishes its measured pool depth in a live report.
Start with a clean network layer: IPLight's residential exits span 170+ countries with city-level targeting from $1.20/GB — see pricing or the live pool report.