Top window and child iframe report identical environments
Unmodified browsers yield matching webdriver types, chrome object presence, and plugins.length across both the main frame and child <iframe>.
Mounts a temporary 0x0 same-origin <iframe> to compare webdriver, chrome, and navigator.plugins.length against the main window.
BotRefund temporarily inserts a hidden 0x0 same-origin <iframe> and compares four values between window and iframe.contentWindow: typeof navigator.webdriver, typeof clientInformation.webdriver, object presence of chrome, and navigator.plugins.length.
Any disagreement between the main window and the freshly created <iframe> flags a cross-window environment desync before the temporary frame is removed.
Stealth extensions or top-frame injection scripts that override navigator.webdriver, window.chrome, or navigator.plugins while failing to patch newly created <iframe> contexts expose the unmodified underlying browser state immediately.
Keeping this signal tempered by verified human interaction avoids penalizing rare privacy extensions that modify properties solely inside the top-level frame.
Unmodified browsers yield matching webdriver types, chrome object presence, and plugins.length across both the main frame and child <iframe>.
Any property or plugins.length divergence between the top window and a fresh <iframe> reveals incomplete top-frame environment spoofing.
Forensic significance: Strong evidence of top-frame-only JavaScript environment spoofing; corroborate with Web Worker platform comparisons and WebDriver descriptor checks.