https 下社会化分享的解决方法?

2016 年 1 月 13 日
 ivmm

百度、 jia 分享、 b 分享啥的,都不支持 https 。
咋办?

3076 次点击
所在节点    问与答
6 条回复
GeekTest
2016 年 1 月 13 日
不用呗
czb
2016 年 1 月 13 日
Addthis 可以
alect
2016 年 1 月 13 日
zingl
2016 年 1 月 13 日
反代之
ethego
2016 年 1 月 13 日
nginx 做一下规则,同名 url http 自动 302 跳转 https
tammy
2016 年 1 月 13 日
都不支持就把 js 拖到支持 js 的服务器呗,或者反代一下
<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"{{postimg}}","bdStyle":"1","bdSize":"32"},"share":{"bdCustomStyle":"bdshare:"}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='https://dn-iyz-file.qbox.me/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/250423

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX