Now with FLASH BLOCKING

There have been lots of changes to Good Vibrations this month. I have gotten reports of (and fixed) many site-related bugs. But, the thing that excites me most so far is flash-based ad blocking. You can test it out in the current beta:

 

//code.google.com/p/stevenjaycohen/downloads/list

 

Oh, if your results are different than mine, remember that I often test things out against the nightly builds of Safari, which is newer than the public beta.

 

I found that I was able to manipulate flash ads with the following code:

 

object[codebase*="flash"]
(Identifies all flash elements)

 

I was very happy to see that this simple bit of code was able to identify flash in Safari.

 

{ border: double thick red; max-height: 5px; max-width: 5px; overflow: hidden ! important }
(puts a double red border around all flash elements and only shows them as a 5 by 5 square)

 

This is great, but not very practical since no flash is usable at all this way.

 

{position: fixed; margin-top: -1000px}
(allowed me to shift the flash off the top of the screen)

 

Again, this was great too, but it meant that I could not use flash at all.

 

{ visibility: hidden ! important }
(Kind of like display: none, but with one major difference)

 

The difference is that this actually catches flash ads! So, I was able to add this line to the parts of the file that block ads by size and any flash ads that are common sizes are now blocked just like simple image banners. I will be testing this out over the next week. Please help me out by using the beta. On August 1st, I will post it to the official definition list.

 

Good Vibrations is picking up steam. Thanks for all of your help!

2 thoughts on “Now with FLASH BLOCKING

  1. Hi Steven, I’ve discovered a false positive with the youtube homepage, the featured video is not shown on the right hand side of the page. Other than that I think this style sheet is shaping up very nicely. However, I’ve noticed a few of those annoying adsense type scripts slipping through. I’ve made a note of where they are originating from (not the ads but the scripts): etology.com edgesuite.net adbrite.com services.google.com
    Jason at 07/24/2007 11:31:00 am

  2. Thanks Jason! I’ll get right on it! Hopefully, I will have these fixes in before the official release on August 1st.
    Steven at 07/24/2007 04:45:26 pm

Leave a Reply

Your email address will not be published. Required fields are marked *