Hi folks! This is a kind of follow up to my post about removing Google ads in Firefox and Opera that I'm sure you all loved ;)
First off, I know what you're saying to yourselves - I don't fucking use Internet Explorer!
That was me not so long ago but I'm running Windows Vista now and IE7 is actually my default browser. It's fast, very easy to use and very stable. I haven't had any problems with it so far in terms of CSS/XHTML issues. Heck, this site worked on it great without any changes!
So now that I'm using IE I want to remove Google ads in it! I thought about this a lot today and my first idea was to attach a behaviour (.htc) but that didn't work due to cross-site access issues (or something like that, all I know is that it didn't work ;)). Anyway, then I remembered that the proprietary expression() method/thing can be used in IE. That's the solution.
iframe { display: expression((this.name == 'google_ads_frame') ? 'none' : block' ); }Just go into Internet Options and click on the accessibility button in the bottom right and tick "Format documents using my style sheet" and browse to and select a CSS file with the above code in it. If anybody uses this and experiences any problems please let me know :)