开发者

How to detect if Facebook iframe is loaded..?

I'm loading an iframe Facebook Like Button on a website.

Problem is, sometimes, I get warning that the SSL certificates is wrong (something to do with akamai). Instead of seing Facebook button and text, I get browser warning of Untrusted Certificate...

When that happens on the website with the iframe, I can then go to https://www.facebook.com/ and that would fail as well, so it's really a FB problem.

Not using the SSL version is not an option, since I would then get mixed content warning.

So what I would like is to somehow, detect if Facebook loads correctly, then displa开发者_高级运维y my iframe with CSS.

Is it something that can be done.?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜