»Free resources»The simplest solution to Baidu Share's inability to use https
By replacing and calling Baidu sharing link, you can quickly replace the reference link to achieve https Baidu sharing, and achieve one click replacement
preface
Baidu Share is a well-known third-party service for sharing in China, which may be the only one. This product is widely used in our website.However, there is a problem that the official Baidu share is loaded via http, and it does not support loading in https. Forcible loading will result in unsafe tips for https. Cloud Cloud provides a simple solution here.
solve
Under Baidu Share HTTPS, you will get many solutions to this problem. The core is the same, that is, download the static file shared by Baidu to load locally. This is a method. The bad thing is that you need to download the file yourself. If this solution is used by yourself, then there is no problem,However, it will not work as a main function, so Cloudfall still wants a better solution.
This method is similar to the previous static file localization.However, on the contrary, my method is today's file remoting, and I changed the domain name to remote domain name, and then directly loaded the remote shared js file.
link
If you need to use the https version of Baidu Share.Directly load the following files.
@Wordpress websiteEven if it is shared, the number of shares on the website is still 0. After many tests, I feel that it is redundant. Ha ha, I closed it!😀