Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
show 2 more comments

1 Answer 1

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

iframe
{
  display: none;
}

... and it works great!

share|improve this answer
1  
What’s the point in doing this? The javascript in iframes will still execute. –  kinokijuf Jun 17 '13 at 8:39
1  
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
1  
It is indeed useful for hiding the iframe. Thanks for the solution. –  adam0404 Apr 23 at 8:08
add comment

Your Answer

 
discard

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.