找出iframe网址是否已更改 [英] find out if iframe url has been changed

查看:96
本文介绍了找出iframe网址是否已更改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法让我知道iframe中的网址是否已更改,即用户是否在某处导航过?
谢谢。

Is there a way for me to find out if the URL in my iframe has been changed, ie, the user has navigated somewhere? Thanks.

推荐答案

类似的问题在这里有一些答案可以帮助你。如果您跟踪iframe的开始位置,则可以使用该链接中的方法查看iframe是否已更改。

A similar question over here has some answers that should help you out. If you keep track of where the iframe starts, you can then use the methods in that link to see if it has changed.

这篇关于找出iframe网址是否已更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆