如何从iframe src获取哈希值? [英] How can i get the hash value from an iframe src?

查看:524
本文介绍了如何从iframe src获取哈希值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的iframe有一个哈希值,当我做iframe.src它只是给我的url没有从其他域附加到它的哈希值。我可以用哈希读取整个网址。

My iframe is having a url with a hash value when i do iframe.src it just gives me the url without the hash appended to it from the other domain. Can i read the entire url with the hash.

推荐答案

由于安全限制不太可能 - 我很惊讶你甚至可以得到URL

Not likely due to security constraints - I am surprised you can even get the URL

您可以显示代码吗?

听起来像是如何在跨域中获取iframe contentWindow高度

这篇关于如何从iframe src获取哈希值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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