MCPcopy Create free account
hub / github.com/Tron521/codex-console-temp / openCheckout

Function openCheckout

static/js/payment.js:2553–2562  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2551
2552// 在当前浏览器直接打开支付页(适合 Docker/远程部署场景)
2553function openCheckout() {
2554 if (!generatedLink) {
2555 toast.warning("请先生成链接");
2556 return;
2557 }
2558 const w = window.open(generatedLink, "_blank", "noopener,noreferrer");
2559 if (!w) {
2560 window.location.href = generatedLink;
2561 }
2562}
2563
2564// 无痕打开浏览器(携带账号 cookie)
2565async function openIncognito() {

Callers

nothing calls this directly

Calls 1

warningMethod · 0.80

Tested by

no test coverage detected