出现Mixed Content: The page at ‘<URL>‘ was loaded over HTTPS, but requested an insecure script ‘<URL>‘解决办法
When accessing a website, some web browsers may prompt unsafe pages and fail to display forms properly. The error code is as follows:
Mixed Content: The page at ‘<URL>‘ was loaded over HTTPS, but requested an insecure script ‘<URL>‘.

Cause analysis:
Google Chrome automatically blocks insecure HTTP links for HTTPS links, which is known as Mixed Content. When dynamically introducing HTTP resources in HTTPS pages, such as introducing a JS file, they will be directly blocked Requesting HTTP resources through AJAX on HTTPS pages will also be directly blocked.
Solution:
Just add a piece of code in the head of the corresponding page:
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
Kind reminder: Try to introduce it wherever you only need it, adding it casually may result in errors.
© Website copyright and disclaimer
1.[honmau Media] independently owns the copyright of all materials on relevant pages of this website;
2. No one is allowed to copy it without the express written permission of [honmau Media];
3. The articles that do not indicate "honmau Media" on this website are all from the Internet and are only for everyone to learn and refer;
4. If there is any infringement/violation/irregularity, please contact customer service QQ or email to delete it, please understand;
5.[honmau Media] reserves the right to correct, modify and update this statement at any time.legal notice