开发者

how to force all new links opening or redirects to stay inside the iframe?

开发者 https://www.devze.com 2022-12-10 17:40 出处:网络
when loading http://www.dmoz.org/ via iframe. when you click on any of the li开发者_如何学运维nks, it will escape out of the iframe.

when loading http://www.dmoz.org/ via iframe.

when you click on any of the li开发者_如何学运维nks, it will escape out of the iframe.

how to disable this from happening ?


You can't, not really. You can load their website in your frame because you control the link your visitor uses to enter that site from your page. You do not control the dmoz site though and you have no control over how they set up their links. If they have them set up in such a way that it breaks any frames, then your outta luck.

0

精彩评论

暂无评论...
验证码 换一张
取 消