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

I'm currently using Chrome 27.

After looking through the settings options (Settings → Privacy → Content settings) I see that I can disable just about anything... except iframes.

Is there any easy way to do this? Is it also possible in IE and Firefox?

share|improve this question
Why would you disable iframes? – gronostaj Jun 16 '13 at 15:20
There's a particular site which has useful content for me, however the iframe content / advertisements contains contains content that i'd rather not see. So i only need this on a temporary basis. – Danield Jun 16 '13 at 15:23
So you actually want to block iframes on a specific site? – gronostaj Jun 16 '13 at 15:26
well yes, maybe a couple of sites – Danield Jun 16 '13 at 15:27
You should be able to create an AdBlock filter for that. – gronostaj Jun 16 '13 at 15:28

I ended up using the extension "stylish"

It lets you target particular urls and then you can add custom styles for that website.

Here's a post in Stack overflow which illustrates this.

So in my case I added the following custom css for the particular website i needed to target

  display: none;

... and it works great!

share|improve this answer
What’s the point in doing this? The javascript in iframes will still execute. – kinokijuf Jun 17 '13 at 8:39
As i mentioned in the comments on the question, I just want to hide the content of the iframes on a particular website. It's not a security concern here – Danield Jun 17 '13 at 8:42
There’s no point in doing this – kinokijuf Jun 17 '13 at 8:47
It is indeed useful for hiding the iframe. Thanks for the solution. – adam0404 Apr 23 '14 at 8:08
The point is, when an ugly iframe is overlapping the main content on a poorly designed website. Don't question the usefulness, just that there's one person who needs it! – Vijay Nov 7 '14 at 7:18

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.