Replace CF path with zip register solver; keep Gmail verification

Use grok-register.zip getTurnstileToken/fill_profile and pure MV2
turnstilePatch. Browser options match ReinerBRO headed flags.
Local gmail worker + IMAP + defaultDomains catch-all stay intact.
This commit is contained in:
chaos committed 2026-07-12 07:09:45 +08:00
1 parent 60e24b89c1
commit 9e0f45ac3b
3 files changed
+491 -696

No files matched your search

+1 -24
View File
@@ -1,6 +1,5 @@
// Turnstile Patch - 隐藏自动化标识,加速 Turnstile 验证
// 在 document_start 阶段执行,确保在页面脚本之前生效
// Source: grok-register / grok_reg-protocol_cpa (zip reference)
(function () {
"use strict";
@@ -55,29 +54,7 @@
});
} catch (e) {}
// 6. CDP MouseEvent.screenX/screenY 与 client 相同会被 CF 检测(Chromium 40280325)
// 两个 zip 的 getTurnstileToken 也会在 iframe 内再补一次;扩展层提前全局打补丁更稳
try {
function getRandomInt(min, max) {
return Math.floor(Math.random() * (max - min + 1)) + min;
}
var _sx = getRandomInt(800, 1200);
var _sy = getRandomInt(400, 600);
Object.defineProperty(MouseEvent.prototype, "screenX", {
configurable: true,
get: function () {
return _sx + (this.clientX || 0);
},
});
Object.defineProperty(MouseEvent.prototype, "screenY", {
configurable: true,
get: function () {
return _sy + (this.clientY || 0);
},
});
} catch (e) {}
// 7. 页面加载完成后,自动监控并点击 Turnstile 复选框
// 6. 页面加载完成后,自动监控并点击 Turnstile 复选框
if (document.readyState === "loading") {
document.addEventListener("DOMContentLoaded", autoClickTurnstile);
} else {