V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
bologer
V2EX  ›  前端开发

谷歌浏览器下双层 iframe 嵌套如何可以正常提交表单?

  •  
  •   bologer · 2021-02-02 17:59:01 +08:00 · 891 次点击
    这是一个创建于 1150 天前的主题,其中的信息可能已经有所发展或是发生改变。

    有 A 、B 、C 三个页面,三个页面域名都不相同,C 是一个登录页面被 B 嵌套,这时 B 可以正常提交表单,然后 B 被 A 嵌套,这时 A 提交 C 的表单就失败了,显示 The frame attempting navigation is neither same-origin with the target, nor is it the target's parent or opener. 请问如何可以在 A 页面中正常提交表单呢? QQ 浏览器是可以提交的,但是谷歌浏览器就被制裁了

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   4030 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 05:16 · PVG 13:16 · LAX 22:16 · JFK 01:16
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.