Facebook JavaScript SDK over HTTPS loading non-secure items

前端 未结 8 1574
时光说笑
时光说笑 2020-11-29 21:19

I have a Facebook application that uses the Facebook Connect.js.

I am running my application over HTTPS. All content on the site is delivered from https://

8条回答
  •  失恋的感觉
    2020-11-29 21:50

    So this would give you the same protocol link:

    FB._https = (window.location.protocol == "https:");
    

提交回复
热议问题