mirror of
https://github.com/jackwener/OpenCLI.git
synced 2026-09-14 18:25:42 +08:00
7ea3f6d3fb
Add 6 new anti-detection patches to stealth.ts and CDP-level debugger statement neutralization to reduce risk of bot detection on platforms like Xiaohongshu. New patches: - Shared toString disguise via WeakMap (undetectable by anti-bot scripts) - Anti-debugger statement trap (Function/eval patching + CDP Debugger.setBreakpointsActive) - Console method fingerprinting defense (re-wrap CDP-bound console methods) - Window dimension detection defense (outerWidth/outerHeight normalization) - Performance API entry filtering (remove debugger/devtools entries) - document.$cdc_ property cleanup (backup for window-level cleanup) - Iframe contentWindow.chrome consistency