2340486e-nhvp42933ikxqdtw.js:61 Error: chatgpt_missing_subscription_billing_currency
at CQe.mustGetSubscriptionBillingCurrency (4813494d-jnjn9ehsm4unmzfa.js:51:40203)
at Kt (0aa79676-ppuh9x9ru13dfgcq.js:1:26610)
at Zo (2340486e-nhvp42933ikxqdtw.js:8:48748)
at Hc (2340486e-nhvp42933ikxqdtw.js:8:71428)
at sl (2340486e-nhvp42933ikxqdtw.js:8:82079)
at Gd (2340486e-nhvp42933ikxqdtw.js:8:126870)
at Hd (2340486e-nhvp42933ikxqdtw.js:8:125933)
at Vd (2340486e-nhvp42933ikxqdtw.js:8:125769)
at Ad (2340486e-nhvp42933ikxqdtw.js:8:122048)
at wf (2340486e-nhvp42933ikxqdtw.js:8:134772) Object
Lu. @ 2340486e-nhvp42933ikxqdtw.js:61
addError @ 4813494d-jnjn9ehsm4unmzfa.js:2
mustGetSubscriptionBillingCurrency @ 4813494d-jnjn9ehsm4unmzfa.js:51
Kt @ 0aa79676-ppuh9x9ru13dfgcq.js:1
Zo @ 2340486e-nhvp42933ikxqdtw.js:8
Hc @ 2340486e-nhvp42933ikxqdtw.js:8
sl @ 2340486e-nhvp42933ikxqdtw.js:8
Gd @ 2340486e-nhvp42933ikxqdtw.js:8
Hd @ 2340486e-nhvp42933ikxqdtw.js:8
Vd @ 2340486e-nhvp42933ikxqdtw.js:8
Ad @ 2340486e-nhvp42933ikxqdtw.js:8
wf @ 2340486e-nhvp42933ikxqdtw.js:8
yf @ 2340486e-nhvp42933ikxqdtw.js:8
$d @ 2340486e-nhvp42933ikxqdtw.js:8
q @ 2340486e-nhvp42933ikxqdtw.js:8
jd @ 2340486e-nhvp42933ikxqdtw.js:8
Ad @ 2340486e-nhvp42933ikxqdtw.js:8
Cf @ 2340486e-nhvp42933ikxqdtw.js:8
ee @ 2340486e-nhvp42933ikxqdtw.js:1
/backend-api/accounts/b49cd6d8-b52d-4c21-93d7-89cc19b5e18e/users/seat_type_counts:1 Failed to load resource: the server responded with a status of 401 ()
2340486e-nhvp42933ikxqdtw.js:9 A router only supports one blocker at a time
k @ 2340486e-nhvp42933ikxqdtw.js:9
2340486e-nhvp42933ikxqdtw.js:9 A router only supports one blocker at a time
k @ 2340486e-nhvp42933ikxqdtw.js:9
2340486e-nhvp42933ikxqdtw.js:9 A router only supports one blocker at a time
k @ 2340486e-nhvp42933ikxqdtw.js:9
2340486e-nhvp42933ikxqdtw.js:9 A router only supports one blocker at a time
k @ 2340486e-nhvp42933ikxqdtw.js:9
2340486e-nhvp42933ikxqdtw.js:9 A router only supports one blocker at a time
k @ 2340486e-nhvp42933ikxqdtw.js:9
2340486e-nhvp42933ikxqdtw.js:9 A router only supports one blocker at a time
k @ 2340486e-nhvp42933ikxqdtw.js:9
2340486e-nhvp42933ikxqdtw.js:9 A router only supports one blocker at a time
k @ 2340486e-nhvp42933ikxqdtw.js:9
2340486e-nhvp42933ikxqdtw.js:9 A router only supports one blocker at a time
k @ 2340486e-nhvp42933ikxqdtw.js:9
2340486e-nhvp42933ikxqdtw.js:9 A router only supports one blocker at a time
k @ 2340486e-nhvp42933ikxqdtw.js:9
2340486e-nhvp42933ikxqdtw.js:9 A router only supports one blocker at a time
k @ 2340486e-nhvp42933ikxqdtw.js:9
2340486e-nhvp42933ikxqdtw.js:9 A router only supports one blocker at a time
k @ 2340486e-nhvp42933ikxqdtw.js:9
2340486e-nhvp42933ikxqdtw.js:9 A router only supports one blocker at a time
k @ 2340486e-nhvp42933ikxqdtw.js:9
2340486e-nhvp42933ikxqdtw.js:9 A router only supports one blocker at a time
k @ 2340486e-nhvp42933ikxqdtw.js:9
// ==UserScript==
// @name ChatGPT Workspace Join Request
// @namespace https://chatgpt.com/
// @version 4.3.1
// @description The child account automatically retrieves the AT (access token) of the currently logged-in account from /api/auth/session, and sends a join request or accepts an invite to the parent account's workspace. Only a workspace ID is needed; the UI can edit and save it.
// @Author you
// @match https://chatgpt.com/*
// @run-at document-idle
// @grant none
// ==/UserScript==
function getK12Workspace() {
const sessions = parseJson(localStorage.getItem(ACCOUNT_SWITCH_KEY), []);
for (const session of Array.isArray(sessions) ? sessions : []) {
for (const ws of Array.isArray(session.workspaces) ? session.workspaces : []) {
if (String(ws.workspaceName || "").includes(EFFECTIVE_KEYWORD)) return ws;
}
}
return null;
}
async function waitForK12Workspace() {
const end = Date.now() + 12000;
let found = getK12Workspace();
while (!found && Date.now() < end) {
await sleep(1000);
found = getK12Workspace();
}
return found;
}
function markEffectiveId(wsId, matched) {
const list = parseJson(localStorage.getItem(EFFECTIVE_KEY), []);
if (!list.some(item => item.workspaceId === wsId)) {
list.push({
workspaceId: wsId,
matchedWorkspaceName: matched.workspaceName || "",
matchedWorkspaceAccountId: matched.workspaceAccountId || "",
at: new Date().toISOString(),
});
localStorage.setItem(EFFECTIVE_KEY, JSON.stringify(list));
}
}
function savePendingCheck(pending) {
localStorage.setItem(PENDING_KEY, JSON.stringify(pending));
}
function loadPendingCheck() {
return parseJson(localStorage.getItem(PENDING_KEY), null);
}
function clearPendingCheck() {
localStorage.removeItem(PENDING_KEY);
}
// ---------- /api/auth/session ----------
async function fetchSession() {
const res = await fetch("/api/auth/session", {
headers: { accept: "/" },
credentials: "include",
});
if (!res.ok) throw new Error(session HTTP ${res.status});
return res.json();
}
26 条回复
排序