阿三 (@darrelwangsz) 在 ChatGPT 查询邀请资格和邀请详情 中发帖
邀请资格
(async () => {
if (location.hostname !== "chatgpt.com") {
throw new Error("请在 https://chatgpt.com 页面执行");
}
const referralKey = "codex_referral_persistent_invite";
const sessionRes = await fetch("/api/auth/session", {
credentials: "include",
headers: { accept: "application/json" },
});
const session = await sessionRes.json();
const token = session.accessToken;
i...