feat: 增强 Plus Checkout 内容脚本,支持多次注入同一页面的功能测试

This commit is contained in:
QLHazyCoder
2026-04-26 16:28:24 +08:00
parent 344158e465
commit 818791f395
3 changed files with 120 additions and 7 deletions
+2
View File
@@ -1,5 +1,6 @@
// content/plus-checkout.js — ChatGPT Plus checkout helper.
(function attachPlusCheckoutContentScript() {
console.log('[MultiPage:plus-checkout] Content script loaded on', location.href);
window.__MULTIPAGE_PLUS_CHECKOUT_READY__ = true;
@@ -1121,3 +1122,4 @@ function inspectPlusCheckoutState() {
},
};
}
})();