需要框架的替代品
我需要框架的替代品。我的布局如下,一个悬停菜单栏和下面的网页。菜单有一个文本框,我可以在其中输入在其他框架中加载的网址。现在,我单击此框架的任何 url 都应仅加载到此框架内。我面临的问题是,由于担心点击劫持,大量网站不允许将其网站加载到框架内。所以我正在拼命寻找框架的替代品,通过它我仍然可以做我上面所说的事情。这可能吗?任何和每一个帮助都将受到真正的赞赏。
谢谢。
I need an alternative to frames. My layout is as follows, a hovering menu bar and a web page below. The menu has a text box where i can enter the url which is loaded in the other frame. now any url i click on this frame should be loaded inside this frame only. The problem i'm facing is that a significant number of sites do not allow their sites to be loaded inside frames due to fear of clickjacking i suppose. So i'm desperately looking for an alternative to frames, by which i can still do what i stated above. Is that possible? Any and every help will be truely appreciated.
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您所描述的是框架(使用
或
)。没有其他选择,从浏览器安全的角度来看,两者的处理方式或多或少是相同的。
What you're describing is frames (either using
<frameset>
or<iframe>
). There is no alternative, and both are treated more or less identically from a browser security standpoint.