Add coherent device profiles and User-Agent spoofing

Device archetypes ensure platform, GPU, resolution, and UA all match
(e.g. Linux profile gets Mesa renderers and X11 UA string). Spoofs
navigator.userAgent, appVersion, and oscpu per container.
This commit is contained in:
sal
2026-03-01 00:50:30 -06:00
parent a371859273
commit 264a401cef
2 changed files with 135 additions and 76 deletions

View File

@@ -155,7 +155,10 @@
hardwareConcurrency: CONFIG.nav.hardwareConcurrency,
platform: CONFIG.nav.platform,
deviceMemory: CONFIG.nav.deviceMemory,
maxTouchPoints: CONFIG.nav.maxTouchPoints
maxTouchPoints: CONFIG.nav.maxTouchPoints,
userAgent: CONFIG.nav.userAgent,
appVersion: CONFIG.nav.appVersion,
oscpu: CONFIG.nav.oscpu
};
for (const [prop, value] of Object.entries(navOverrides)) {