Disable the 'Insecure Content' Warning in Google Chrome

When you open a secure (https) website in Google Chrome, the browser may sometimes display a security warning that says – “This page has insecure content.”

Google Chrome - Insecure Content

What is Insecure Content in Google Chrome

A web page contains several CSS and JavaScript files and these may be getting served from different locations. If the page is served over https but the associated files are served from a non-secure http website, the browser will throw the “insecure content” warning. Such a feature is present in IE as well though they call it mixed content.

Which files are responsible for the Insecure Content warning

If you are curious to know why Google, Twitter, Google Docs and other sites display the insecure content warning, open any of these sites in Chrome and press Ctrl + Shift + J. The developer’s console will open in the lower half and you’ll instantly know the files that have caused that annoying insecure content warning.

For instance, the Facebook website serves most of the files from facebook.com over https but it loads the jQuery JavaScript library from googleapis.com over http which leads to that security warning.

How to Turn Off Insecure Content Warnings

Unlike IE, Google Chrome doesn’t offer an easy option to disable these warnings but you can make use of a command-line switch to quickly turn them off.

Just right-click the Google Chrome icon on your desktop, or inside the Windows Start Menu, choose Properties and add the switch “—allow-running-insecure-content” to the target box. Restart Chrome to apply the changes and you won’t see that yellow bar again.

Amit Agarwal

Amit Agarwal

Google Developer Expert, Google Cloud Champion

Amit Agarwal is a Google Developer Expert in Google Workspace and Google Apps Script. He holds an engineering degree in Computer Science (I.I.T.) and is the first professional blogger in India.

Amit has developed several popular Google add-ons including Mail Merge for Gmail and Document Studio. Read more on Lifehacker and YourStory

0

Awards & Titles

Digital Inspiration has won several awards since it's launch in 2004.

Google Developer Expert

Google Developer Expert

Google awarded us the Google Developer Expert award recogizing our work in Google Workspace.

ProductHunt Golden Kitty

ProductHunt Golden Kitty

Our Gmail tool won the Lifehack of the Year award at ProductHunt Golden Kitty Awards in 2017.

Microsoft MVP Alumni

Microsoft MVP Alumni

Microsoft awarded us the Most Valuable Professional (MVP) title for 5 years in a row.

Google Cloud Champion

Google Cloud Champion

Google awarded us the Champion Innovator title recognizing our technical skill and expertise.

Email Newsletter

Sign up for our email newsletter to stay up to date.

We will never send any spam emails. Promise.