#37. Firefox and other browser blocks insecure content

You have a website and firefox or other browsers block your ads or other content?
And it also shows an alert about insecure content?

Maybe you are using https in your website, then probably the cause is that you are serving this content without security (http) and browsers usually complain about it.

A simple way to fix this common mixed content error is removing the protocol from the url, so if you have an url to your content like src="http://yourcontent/contentpage" leave it like src="//yourcontent/contentpage". This way the browser will connect using the same protocol as the container page and allowing the content.

No comments:

Post a Comment