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

如何绕过禁止 iframe,实现嵌套网页

  •  1
     
  •   quu · 2017-06-27 10:20:59 +08:00 · 4150 次点击
    这是一个创建于 2467 天前的主题,其中的信息可能已经有所发展或是发生改变。

    一些站点设置了禁止 iframe 嵌套,阻拦所有 iframe,因为业务流程,我还是需要嵌套这个页面才能完成下一步,有没有绕过方法?

    比如嵌套知乎的 URL: https://www.zhihu.com/question/61556377

    试了,security="restricted" 不行。

    2 条回复    2017-06-27 11:12:15 +08:00
    ghostheaven
        1
    ghostheaven  
       2017-06-27 10:39:23 +08:00 via Android
    跟知乎谈商务合作
    nfroot
        2
    nfroot  
       2017-06-27 11:12:15 +08:00
    1.反向代理
    2.通过 API 请求数据
    3.逼用户使用 IE6
    4.挑战浏览器限制你是在逗我玩
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2732 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 12:42 · PVG 20:42 · LAX 05:42 · JFK 08:42
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.