Raf*_*ael 4 html safari iframe mobile-safari web
我的iframe网页上有一个.它适用于FF和Chrome,但不适用于Safari(我使用的是Safari 6.0)
这是我的代码:
<html>
<head>
<title>Pengower</title>
</head>
<body>
<div id="container">
<iframe name="news" id="news"
src="http://www.penapplications.net/ImogenApps/?Pengower:CRM:Pengower_News">
</iframe>
</div><!--end container div-->
</body>
</html>
Run Code Online (Sandbox Code Playgroud)
有趣的是,如果我访问src网址然后访问iframe页面,那么iframe正确显示内容,但如果我只是访问iframe页面而不访问src之前的网址页面,它不会显示内容.
有任何想法吗?
在iframe似乎重定向到一个中介页面(penDummyLogon.aspx)这会尝试自动提交表单到最后一页(main.aspx),并设置一个cookie.
由于这种设置cookie的方法似乎在最近的Safari版本中被阻止,因此用户到达没有cookie的最终页面.main.aspx似乎无法处理丢失的cookie,因此其预期内容不会加载.
有关此主题的更多信息,请参阅在Safari中设置iframe中的第三方Cookie的技术是否仍然有效?和Safari第三方cookie iframe技巧不再有效?
| 归档时间: |
|
| 查看次数: |
27054 次 |
| 最近记录: |