»Free resources»The simplest solution to Baidu share can not be used under HTTPS
Through the replacement call Baidu share link, you can quickly replace the reference link to realize the HTTPS Baidu share and one click replacement
Baidu share is a well-known sharing third-party service in China, which may also be the only few. This product is widely used in our website.However, there is a problem. The official Baidu share is loaded from HTTP, and does not support loading in HTTPS. Forced loading will cause an unsafe prompt for HTTPS. Here is a simple solution for Yunluo.
Under Baidu [Baidu share HTTPS], you will get a lot of solutions to this problem. The core is the same: download the static files shared by Baidu and load them locally. This is a method. The bad thing is that you need to download the files yourself. If you use this solution for yourself, then there will be no problem,But it will not work if it is used as the main function, so Yunluo still wants a better solution.
In fact, this method is similar to the previous static file localization.However, on the contrary, my method is to make the file remote today, and change the domain name to the remote domain name, and then load the remote shared JS file directly.
If you need to use the HTTPS version of Baidu to share.Load the following files directly.