Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I have mixed content (SSL and non-SSL on a https:// page), I would rather have a broken page than an insecure page.

Is there any way to disable the loading of non-SSL elements while on an https page?

share|improve this question
this isn't really an issue the "non-secure" parts of a page are the static images ( logos etc. ) and have no reason to be encrypted. – Lamar B Dec 13 '11 at 7:53
@LamarB: It can be an issue if one of the insecure elements is a <script>, a good target for MITM attacks. – grawity Dec 13 '11 at 12:51
@grawity agreed, but if security is that big of an issue you should already have javascript disabled and selectively run the ones you need. – Lamar B Dec 13 '11 at 19:11
@LamarB: Well, first, many stores and banking sites require JavaScript. But the point I was trying to make is that without SSL, an attacker could replace a modify a script which you do need, and you wouldn't know it. You'd be thinking, "all scripts except this one are blocked, I'm safe". – grawity Dec 13 '11 at 20:04
it's exactly to confirm that "non-secure items are just logos" that i want an option to not load those. I don't need to see one store logo while i enter my credit card at checkout. But i'm sure as hell not buying there if i have to look at the source to see if it's really just the images and not the scripts. – gcb Dec 13 '11 at 20:07
up vote 2 down vote accepted

HTTPS everywhere by the EFF may suit your needs it only supports a limited number of sites though. For non-supported sites you may need to find another option.

On internet explorer 9 there is a "block unsecured images with other unsecured content" and a "display mixed content" enable/disable/prompt settings that should also help. Haven't found these type of settings for chrome or firefox yet but I would suspect that firefox's about:config would have similar settings.

share|improve this answer
the 2nd paragraph is mostly my question :) but thanks for the https-everywhere link! didn't know about that. – gcb Dec 14 '11 at 5:52

Set the values of both of these about:config items to true:

  • security.mixed_content.block_active_content
  • security.mixed_content.block_display_content


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.