Files
chaos 2302e74209 feat: xAI Grok auto-registration tool
- DrissionPage + Chrome browser automation
- Temporary email via mail.tm API
- Verification code auto-extraction
- Turnstile CAPTCHA bypass via extension
- SSO cookie extraction and persistence
2026-06-16 07:12:51 +08:00

12 lines
383 B
JavaScript

function getRandomInt(min, max) {
return Math.floor(Math.random() * (max - min + 1)) + min;
}
// old method wouldn't work on 4k screens
let screenX = getRandomInt(800, 1200);
let screenY = getRandomInt(400, 600);
Object.defineProperty(MouseEvent.prototype, 'screenX', { value: screenX });
Object.defineProperty(MouseEvent.prototype, 'screenY', { value: screenY });