feat:新增CloudflareTempEmail

This commit is contained in:
Twelveeee
2026-04-13 17:27:42 +08:00
parent a2ef57da7e
commit 0614917ad4
9 changed files with 1258 additions and 17 deletions
@@ -52,7 +52,11 @@ function extractFunction(name) {
const bundle = [
extractFunction('getTabRegistry'),
extractFunction('normalizeEmailGenerator'),
extractFunction('parseUrlSafely'),
extractFunction('isHotmailProvider'),
extractFunction('isGeneratedAliasProvider'),
extractFunction('shouldUseCustomRegistrationEmail'),
extractFunction('isLocalhostOAuthCallbackUrl'),
extractFunction('isLocalhostOAuthCallbackTabMatch'),
extractFunction('closeLocalhostCallbackTabs'),
@@ -62,6 +66,9 @@ const bundle = [
].join('\n');
const api = new Function(`
const HOTMAIL_PROVIDER = 'hotmail-api';
const CLOUDFLARE_TEMP_EMAIL_PROVIDER = 'cloudflare-temp-email';
const CLOUDFLARE_TEMP_EMAIL_GENERATOR = 'cloudflare-temp-email';
let currentState = {
tabRegistry: {
'signup-page': { tabId: 1, ready: true },