MozillaZine

Hiding Flash (ads)

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

Post Posted November 5th, 2002, 8:56 am

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

michel v

User avatar
 
Posts: 145
Joined: November 5th, 2002, 8:54 am
Location: Corsica

Post Posted November 5th, 2002, 9:05 am

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 Posted November 5th, 2002, 9:13 am

Thanks; it would be nice.
Those css stuff is Chinese for me.
:oops:

michel v

User avatar
 
Posts: 145
Joined: November 5th, 2002, 8:54 am
Location: Corsica

Post Posted November 5th, 2002, 10:18 am

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 Posted November 5th, 2002, 10:57 am

It seems to work - thanks :lol:

Ted Mielczarek
 
Posts: 1269
Joined: November 5th, 2002, 7:32 am
Location: PA

Post Posted November 5th, 2002, 11:09 am

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 Posted November 5th, 2002, 11:13 am

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

michel v

User avatar
 
Posts: 145
Joined: November 5th, 2002, 8:54 am
Location: Corsica

Post Posted November 5th, 2002, 11:56 am

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

Post Posted November 5th, 2002, 12:50 pm

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 Posted November 6th, 2002, 7:38 pm

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

Post Posted November 7th, 2002, 7:58 am

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

Post Posted November 7th, 2002, 3:58 pm

"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

User avatar
 
Posts: 398
Joined: November 4th, 2002, 7:00 pm
Location: Mountain View, CA

Post Posted November 8th, 2002, 6:18 pm

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.

johann_p

User avatar
 
Posts: 8479
Joined: November 5th, 2002, 3:05 am
Location: Sheffield, UK

Post Posted November 8th, 2002, 6:35 pm

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.

alanjstr
Moderator

User avatar
 
Posts: 9100
Joined: November 5th, 2002, 4:43 pm
Location: Anywhere but here

Post Posted December 2nd, 2002, 11:10 pm

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.

Return to SeaMonkey General


Who is online

Users browsing this forum: No registered users and 0 guests