Funny Linux animation

Tom Buskey tom at buskey.name
Wed Jan 29 14:04:50 EST 2003


Travis Roy said:
>I've never used junkbuster or any other linux based ad removal software,
>but AdSubtract for Windows blocks any ad, even if it's flash.

Junkbuster runs on windows too.  On my dual boot laptop, I used to have 
the linux version use the config files from the windows partition.

If you want an updated version of junkbuster, the new name is privoxy.

mozilla & derivitives can do some of this internally with chrome.  I 
use galeon so the file is ~/.galeon/mozilla/galeon/chrome/userContent.css 
mozilla would be in something like ~/.mozilla/<user>/<user tag>/chrome

quit galeon/mozilla
cp userContent-example.css userContent.css

Add this to the file:

/* Hide Banner Ads */
*[src*="ads."],
*[src*="/ad/"],
*[src*="/ads/"],
*[src*="/adx/"],
*[src*="banner"],
*[src*="doubleclick"],
*[src*="us.a1.yimg.com"],
*[src*="advertising"],
*[src*="RealMedia/ads"],
*[width="468"][height="60"],
*[width="234"][height="60"],
*[width="120"][height="60"],
*[width="336"][height="280"],
*[width="338"][height="282"],
*[width="728"][height="105"],
*[width="728"][height="90"],
*[width="500"][height="62"],
*[width="184"][height="90"],
*[width="160"][height="600"],
*[width="160"][height="60"],
*[width="150"][height="70"],
*[width="140"][height="800"],
*[width="120"][height="800"],
*[width="120"][height="600"],
*[width="0"][height="0"],
*[width="1"][height="1"],
*[width="600"][height="30"],
*[width="237"][height="90"],
*[width="200"][height="23"],
*[width="300"][height="250"] {
  display: none;
  visibility: hidden;
}

/* this hides the usual 468x60 Flash banner ads */
embed[type="application/x-shockwave-flash"][width="468"][height="60"] {
  display: none !important;
  visibility: hidden !important;
}
/* this hides the not so usual but very annoying 728x90 Flash banner ads */
embed[type="application/x-shockwave-flash"][width="728"][height="90"] {
  display: none !important;
  visibility: hidden !important;
}
/* three last entries for "Inquirer" style small, vertical and square ads */
embed[type="application/x-shockwave-flash"][width="125"][height="300"] {
  display: none !important;
  visibility: hidden !important;
}
embed[type="application/x-shockwave-flash"][width="95"][height="40"] {
  display: none !important;
  visibility: hidden !important;
}
embed[type="application/x-shockwave-flash"][width="125"][height="125"] {
  display: none !important;
  visibility: hidden !important;
}



-- 
-------
Tom Buskey





More information about the gnhlug-discuss mailing list