Commit 1039c54
SIN-Agent
fix: stealth-human-mouse.js — read-only property crash
Root cause: Object.defineProperty set __opensin_humanMouse__ as
writable:false (idempotency check), then line 301 tried direct
assignment window.__opensin_humanMouse__ = {...} which crashed
with 'Cannot assign to read only property'.
Fix: Removed Object.defineProperty for idempotency flag (use
simple assignment instead). Changed API object assignment to
also use Object.defineProperty with writable:true.
This crash occurred on every page load on heyPiggy and qwen.ai,
breaking the Bridge extension completely.1 parent 8fe088c commit 1039c54
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
| |||
298 | 299 | | |
299 | 300 | | |
300 | 301 | | |
301 | | - | |
| 302 | + | |
| 303 | + | |
302 | 304 | | |
303 | 305 | | |
304 | 306 | | |
| |||
354 | 356 | | |
355 | 357 | | |
356 | 358 | | |
357 | | - | |
| 359 | + | |
358 | 360 | | |
359 | 361 | | |
360 | 362 | | |
| |||
0 commit comments