ingridsede
ingridsede

Reputation: 339

display instructions if mixed content is not allowed

Is there any way to detect that a users browser hasn't enabled the Allow mixed content feature?

What i want is that if it isn't enabled, the div where the http-iframe should otherwise load displays some text telling the user what went wrong.

Upvotes: 0

Views: 222

Answers (1)

mpx
mpx

Reputation: 209

You should read this article: http://blogs.msdn.com/b/ieinternals/archive/2009/06/22/https-mixed-content-in-ie8.aspx

I assume that you own the secure site? if so you should consider proxying the insecure content.

anyway you could reference an image/script from the source handle errors on the "onload" event. that should do the trick.

Upvotes: 1

Related Questions