ivmm
V2EX  ›  问与答

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

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

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

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