If you’re like me, you hate seeing ads on websites. (I’m sorry about the Yahoo ads here, but I need to make some money, if you block them, it is fine by me.) Facebook has its own fair share of ads, while not as bad as some other sites, they are nonetheless annoying at times. With FireFox it is fairly simple to get rid of most of the ads,
simply install AdBlock Plus. But what about the Flyers? Adblock will not be able to get rid of that.
To remove the Facebook Flyers follow these steps:
- In Windows Explorer, go to your profile:
- On Windows Vista/XP/2000, the path is usually %AppData%\Mozilla\Firefox\Profiles\xxxxxxxx.default\, where xxxxxxxx is a random string of 8 characters. Just browse to C:\Documents and Settings\[User Name]\Application Data\Mozilla\Firefox\Profiles\ on Windows XP/2000 or C:\users\[User Name]\AppData\Roaming\Mozilla\Firefox\Profiles\ on Windows Vista, and the rest should be obvious.
- On Windows 95/98/Me, the path is usually C:\WINDOWS\Application Data\Mozilla\Firefox\Profiles\xxxxxxxx.default\
- On Linux, the path is usually ~/.mozilla/firefox/xxxxxxxx.default/
- On Mac OS X, the path is usually ~/Library/Application Support/Firefox/Profiles/xxxxxxxx.default/
- Go to the Profiles folder that you see.
- Create a new file called: “UserContent.css”
- Add the following to the bottom of the file, and restart FireFox.
/* — facebook — */
/* block ads (Firefox only) */
@-moz-document domain(facebook.com) {
}
#ssponsor {display: none !important; }
And that is it, Facebook Flyers will no longer show up!
The suggestion doesn’t seem to be working anymore. A friend suggested:
/* — facebook — */
/* block ads (Firefox only) */
@-moz-document domain(facebook.com) {
}
.advert {display: none !important; }
But this doesn’t work either. Any idea why or what would work to block the Facebook fliers? Thanks!
I’m not sure what the problems is, I’ve had no problem blocking the flyers using the code that provided. The only thing I can think of is to change the domain to only use your school. For example, I go to NYU, so I would put it: nyu.facebook.com instead of just the facebook.com. That might work.