Log in

No account? Create an account
Mozilla: Firefox, Thunderbird, Sunbird, and the suite
[Most Recent Entries] [Calendar View] [Friends View]

Monday, November 25th, 2002

Time Event
More thorough advert blocking...

This was cribbed from the pages of Slashdot (here and here). Insert these lines into your /chrome/userContent.css file. Annoying animated Flash ads are eliminated:

/* 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;

It's basic CSS2. Remember though: if you do this; you may block some Flash that you want if it's exactly the right size, and you may fail to block some odd-sized Flash ads.


Current Mood: mozillicious

<< Previous Day 2002/11/25
Next Day >>
About LiveJournal.com