Insecure Content Blocked while browsing

khattam12

Recruit
Screenshot from 2020-01-07 09-48-50.png


When I published my site, I always get a safety shield in the url-bar on top that says: Insecure content blocked. This page is trying to load scripts from unauthenticated sources. Because of this error, my site does not show icons or the correct font until I click "load unsafe scripts".
How to solve this
 
Last edited by a moderator:
Web browsers, by default blocks Insecure Content on secure pages. When you visit a secure web page with insecure content, a shield icon may appear at the top right edge of your browser, along with a warning This page has insecure content. This means that Chrome has stopped loading of Insecure Content.

Disable Insecure Content warning

Google does not recommend that you do this, but if you wish to disable Insecure Content warning in Chrome, you can use the following command line flag to prevent Chrome from checking for insecure content:

--allow-running-insecure-content

You may if you wish, create a shortcut using the following path as Target:
C:\Users\%username%\AppData\Local\Google\Chrome\Application\chrome.exe –allow-running-insecure-content

Note that there are two dashes above, before allow.

Also, Another Way to get rid from this problem

The best strategy to avoid mixed content blocking is to serve all the content as HTTPS instead of HTTP.

For your own domain, serve all content as HTTPS and fix your links. Often, the HTTPS version of the content already exists and this just requires adding an "s" to links - http:// to https://.

However, in some cases, the path may just be incorrect to the media in question. There are online as well as offline tools (depending on your operating system) such as linkchecker to help resolve this.

For other domains, use the site's HTTPS version if available. If HTTPS is not available, you can try contacting the domain and asking them if they can make the content available via HTTPS.
 
Back
Top