ivmm
V2EX  ›  问与答

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

  •  
  •   ivmm · Jan 13, 2016 · 3076 views
    This topic created in 3967 days ago, the information mentioned may be changed or developed.

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

    6 replies  •  2016-01-13 20:40:52 +08:00
    GeekTest
    GeekTest
    Jan 13, 2016 via Android
    1
    不用呗
    czb
    czb
    Jan 13, 2016 via Android
    2
    Addthis 可以
    zingl
    zingl
    Jan 13, 2016
    4
    反代之
    ethego
    ethego
    Jan 13, 2016
    5
    nginx 做一下规则,同名 url http 自动 302 跳转 https
    tammy
    tammy
    Jan 13, 2016
    6
    都不支持就把 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>
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1452 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 00:01 · PVG 08:01 · LAX 16:01 · JFK 19:01
    ♥ Do have faith in what you're doing.