no message
This commit is contained in:
@@ -382,10 +382,6 @@ function showCaptchaToast(reason) {
|
||||
const MAX_LOGIN_ATTEMPTS = 3;
|
||||
const ATTEMPT_COOLDOWN = 5 * 60 * 1000;
|
||||
|
||||
// 失败计数按 envId+domain 索引,同 domain 在不同环境独立计数
|
||||
function attemptKey(envId, domain) {
|
||||
return `${envId}::${domain}`;
|
||||
}
|
||||
|
||||
async function getDomainAttempts(envId, domain) {
|
||||
const resp = await chrome.runtime.sendMessage({ action: "getDomainAttempts", envId, domain }).catch(() => null);
|
||||
|
||||
Reference in New Issue
Block a user