2025年11月8日

与跨域 iframe 通信示例

摘要: 定义一个桥接类 class IframeBridge { constructor(iframe, targetOrigin = '*') { this.iframe = iframe; this.targetOrigin = targetOrigin; this.pendingRequests = 阅读全文

posted @ 2025-11-08 13:57 空明流光 阅读(3) 评论(0) 推荐(0)

导航