【发布时间】:2014-10-19 13:46:10
【问题描述】:
我在我的网页 myhcdp.com 上使用以下新生成的 Facebook like box html(添加 https:):
<iframe src="https://www.facebook.com/plugins/likebox.php?
href=https%3A%2F%2Fwww.facebook.com%2FHendersonCountyDems&width=292
&height=950&colorscheme=light&show_faces=true&header=true
&stream=true&show_border=true&appId=120437058037420"
scrolling="no" frameborder="0" style="border:none; overflow:hidden;
width:290px; height:950px;" allowTransparency="true"></iframe>
它在 Chrome、Firefox 和 IE 11 中正确加载,但 IE 8、9 和 10 显示“Internet Explorer 无法显示网页”错误面板。如果我复制 src 字符串 (https:...appid=...) 并直接在另一个选项卡中打开它,IE 8、9 和 10 就可以打开它。
我已经尝试过在 stackoverflow 上的其他帖子中找到的修复程序,例如更改 &到 &。还将 %hex 更改为实际字符(: 和 /)。修改后的 iframe 代码在 Chrome、Firefox 和 IE 11 中仍然有效,在 IE 8、9 和 10 中仍然无效。
提前感谢您提供的任何帮助。
【问题讨论】:
标签: facebook-likebox