Hiding Flash (ads)

Discussion of general topics about Seamonkey
blo
Posts: 14
Joined: November 5th, 2002, 8:50 am
Location: France

Hiding Flash (ads)

Post by blo »

Hi,
Though i guess this pb had been already addressed, (though searching
the olld forums didn't give me interesting clues)
is there a way to hide those so annoying Flash ads ?
Bruno
User avatar
michel v
Posts: 145
Joined: November 5th, 2002, 8:54 am
Location: Corsica
Contact:

Post by michel v »

I haven't looked into it just yet, but I believe if the markup to include Flash movies presents specific attributes that do not change, hiding it would just be a matter of defining the right CSS rules in user_something.css.
I'll look into it. :)
blo
Posts: 14
Joined: November 5th, 2002, 8:50 am
Location: France

Post by blo »

Thanks; it would be nice.
Those css stuff is Chinese for me.
:oops:
User avatar
michel v
Posts: 145
Joined: November 5th, 2002, 8:54 am
Location: Corsica
Contact:

Post by michel v »

There you go, CSS rules ready to use! :)
http://tidakada.com/archives/p/1941/more/1/c/1
blo
Posts: 14
Joined: November 5th, 2002, 8:50 am
Location: France

Post by blo »

It seems to work - thanks :lol:
Ted Mielczarek
Posts: 1269
Joined: November 5th, 2002, 7:32 am
Location: PA
Contact:

Flash hiding

Post by Ted Mielczarek »

That CSS is pretty nice, thanks for the link. You can probably accomplish the same thing with Banner Blind.

Also note my post on this topic in the Phoenix forums: http://www.mozillazine.org/forums/viewtopic.php?t=27
blo
Posts: 14
Joined: November 5th, 2002, 8:50 am
Location: France

Post by blo »

I have bannerBlind installed and activated to hide 468*60 "data".
This does not works for Flash.
Doesn't it work only for pictures ?
Bruno
User avatar
michel v
Posts: 145
Joined: November 5th, 2002, 8:54 am
Location: Corsica
Contact:

Post by michel v »

Well, what Bannerblinds does, more or less, is the same thing I described.
You can achieve "the Bannerblind effect" like this:

Code: Select all

/* this hides the usual 468x60 img banner ads */
img[width="468"][height="60"] {
  display: none !important;
  visibility: hidden !important;
}

Or then I'm not sure if this is valid CSS, or if it works at all because I haven't tested it yet:

Code: Select all

/* this hides ANYTHING that is 468x60 */
*[width="468"][height="60"] {
  display: none !important;
  visibility: hidden !important;
}
Ted Mielczarek
Posts: 1269
Joined: November 5th, 2002, 7:32 am
Location: PA
Contact:

BannerBlind

Post by Ted Mielczarek »

blo:
From the Banner Blind code:

Code: Select all

var bannertags = new Array ("img","embed","object");


It should work on Flash.

michel v:
That CSS validates, and it looks fine to me.
Gavin
Posts: 7
Joined: November 6th, 2002, 5:28 pm

Post by Gavin »

Is that CSS simply hiding them, or preventing them from being downloaded? Same for bannerblind, I am unclear on where they are blocked, ie. download or display...
Ted Mielczarek
Posts: 1269
Joined: November 5th, 2002, 7:32 am
Location: PA
Contact:

Banner Blind

Post by Ted Mielczarek »

Banner Blind just hides them, they still get loaded. I have the feeling that the CSS just does the same thing, since styles are applied after the page loads, but I could be wrong.
ckjnigel
Posts: 285
Joined: November 5th, 2002, 12:37 am

Proxo seems to stop Flash from loading

Post by ckjnigel »

"Sam" in the old Phoenix forum suggested Proxomitron (M$Windows only) and (after a prob getting MozMail thru it), it works well and fast. I've noticed at their support forum a number of configuration files designed for Moz and Opera users specifically. It would be nice, I think, if some Mozillans continued to create and post links to their filter rules.
Jesse
Posts: 398
Joined: November 4th, 2002, 7:00 pm
Location: Mountain View, CA
Contact:

Re: Banner Blind

Post by Jesse »

Ted Mielczarek wrote:Banner Blind just hides them, they still get loaded. I have the feeling that the CSS just does the same thing, since styles are applied after the page loads, but I could be wrong.


CSS is applied as the page loads. Using display:none on Flash makes the animation go away completely (sounds, etc), but this might change in the future.
User avatar
johann_p
Posts: 8479
Joined: November 5th, 2002, 3:05 am
Location: Sheffield, UK

I use privoxy for everything

Post by johann_p »

Privoxy (http://www.privoxy.org) runs as a local proxy and does all kinds of filtering: it can suppress flash and other plugins, pupups, images, can do on the fly changes of web pages, allows referrer and UA changes and much more, and all this on arbitrary patterns of URIs.
The rules can be updated on the fly via a web interface that is directly provided by the proxy.
The program is available for most platforms and free.
User avatar
alanjstr
Moderator
Posts: 9100
Joined: November 5th, 2002, 4:43 pm
Location: Anywhere but here
Contact:

Re: Flash hiding

Post by alanjstr »

Ted Mielczarek wrote:That CSS is pretty nice, thanks for the link. You can probably accomplish the same thing with Banner Blind.

Also note my post on this topic in the Phoenix forums: http://www.mozillazine.org/forums/viewtopic.php?t=27


Any chance Bannerblind works again? Does it work for Phoenix? It stopped working for me when I switched to Moz 1.2.
Post Reply