Block Facebook Ads In Firefox & Safari

Here at Ausbury Headquarters, we are becoming addicted to Facebook. However, is anyone else really annoyed by the new targeted ads in the left column? How many times a day to I need to be reminded that my abs are non-existent? How many girls in their underwear does my teenager have to see every day?

My son and I did some research and here’s how to block all the bothersome ads on Facebook. This is quite easy to do if you’re using Firefox – just use the Firefox add-on called Adblock Plus and add a few custom filters.

How to block Facebook ads within the Firefox browser:

1. Go to this page: https://addons.mozilla.org/en-US/firefox/addon/1865
2. Click: Add To Firefox
3. Wait for Install button to become active then click it.
4. Restart Firefox.
5. When Firefox opens, you should see a tab: Add Adblock Plus Filter subscription
6. If you want to block ads on many other sites, click the button next to EasyList (USA), then click Subscribe.
7. Under the Tools menu in Firefox, select Adblock Plus Preferences.
8. Click the Add Filter button.
9. Copy and paste the following filter: facebook.com#*(social_ad) and click OK.
10. Repeat steps 7 and 8, then copy and paste the following filter: facebook.com#*(social_ad_advert) and click OK.
11. Close Firefox, then open it and go to Facebook. Adblock Plus should block all Facebook ads.

If you haven’t yet ditched Internet Explorer, here is the download link for Firefox:

http://www.mozilla.com/en-US/firefox/

We’re still searching for an easy way to block Facebook ads in Internet Explorer. I’ll keep you posted as we keep looking.

*** UPDATE December 2, 2009 ***

Just added a Macbook and have figured out how to block Facebook ads in Safari via a custom CSS file. Here’s how:

1. Open the TextEdit program.
2. Create a new file and be sure to click Format > Make Plain Text
3. Copy and paste this into the new file you just created:

#ssponsor, .footer_ad, .banner_ad, .social_ad, .ad_capsule, .sidebar_ads, .adcolumn, .admarket_ad, .sidebar_item.sponsor, .emu_sponsor, .home_sponsor { display: none !important; }

4. Save the file with this file name: custom.css and make sure to click the Use.css button. Put the file somewhere easy to find on your hard drive.
5. In Safari, click on the Safari menu, then go to Preferences, Advanced, Stylesheet. Select “Other” and choose the custom.css file saved in Step 4 above.
6. Refresh Facebook and your ads will be gone.

About these ads
About

Doug Ausbury is an entrepreneur, coffee achiever, baseball addict, aspiring spousal unit, pop music geek and family man. Most of the time, he needs more cowbell...a lot more cowbell.

Tagged with:
Posted in Family, Technology
97 comments on “Block Facebook Ads In Firefox & Safari
  1. widget says:

    Thank you, a very useful post, and it still works on the new facebook layout. Don’t suppose you know how to block the thumb up and down icons as well?
    (please email me if you do :) )

  2. TF says:

    Works for some but not all ads. Anyone know how to block the “gift” images?

  3. Andreas says:

    Thanks for this great tip.

    I found that using facebook.com#*(sponsors) also removed the More ads and Advertise links. I used that instead of the social_ad_advert variant.

    Cheers,

  4. Scott says:

    Worked a treat! Thanks!!

  5. tb says:

    for the thumbs
    just right click on them twice each and block them (tmb_up, thmb_down, and the hoover variety

  6. Guest says:

    On facebook’s new layout you can add this one:

    facebook.com#*(sidebar_ads)

    Will be block entire adds section, social and adverts too.

    Greets & stuff.

  7. anonymous says:

    when it comes to blocking facebook ads, nothing beats the greasemonkey script. try it out.

  8. PW says:

    Just so you know there’s a free adblocker for IE called adblock pro, I only just found it myself, but it seems to work well. Now I just have to justify why I would ever use IE…

  9. [...] on, so I had to come up with a solution.  Google turned up a simple answer to my problem via The Asbury Blog and I no longer have to put up with Facebook ads.  Check it out: How to block Facebook ads within [...]

  10. hasan says:

    thank you for these tips, i hate seeing this guy holding his nipple (looks like it) that’s in a shaving razor ad!!! adblock does rock!

  11. realzafu says:

    Noticed this week (2/2/2009) that Facebook is not displaying other people’s profile pages if this add-blocking is enabled. Any new methods out there? I’ve resorted to keeping my browser width narrow enough to hide the sidebar ads. (Facebook if you are reading I only resorted to ad-blocking since your thumbs down doesn’t block ads I find offensive. In fact, 80% of ads you serve me I have 0% interest in.)

  12. Salubr says:

    This is awesome !!! Good work

  13. Fredrik says:

    Yess!!! finally!

    Thank you very much!

  14. Dennis says:

    I’ve also added facebook.com#*(class=adcolumn) to the Adblock filters. It hides the complete ad bar in the user profile.

  15. cory says:

    Thank you for this, my conscience is happy again

  16. keffo says:

    I’ve been looking for a solution to this, thanks for sharing!

  17. daveo76 says:

    I tried all those options but I still get ads on the right side. (12/3/2009)

  18. ithinkx says:

    this hasn’t worked for me. on a mac 10.5.6 using Firefox 3.0.7

  19. fedupmomma says:

    This fix used to work great – however, I think the new ads (as of around sometime last month) need a different filter – I can’t get rid of them. Here is the filter to get rid of the pictures at least:

    http://creative.ak.facebook.com/ads*

  20. Jim says:

    Another useful filter is:
    facebook.com#*(banner_ad)

  21. KV says:

    Try using these two – they seem to do the trick with the new facebook layout:

    facebook.com#*(adcolumn_wrapper)
    facebook.com#*(home_sponsor_nile)

    Removes the facebook side bar ads when you’re browsing, and also the sponsored ad from the main page when you log in.

  22. P says:

    Does it work with the new facebook layout?

  23. typicaluser says:

    awesome, thanks! in response to the previous poster, it works fine for me (2009-07-07) with the new facebook layout! i recommend this to EVERYBODY.

  24. dgskk says:

    Thank you, Thank you, Thank you. They are gone!!!!!

  25. Miaa says:

    wow guys this helped me alot..but this is a nice thing ur doing here…keep up the good work.. =)

  26. Katie says:

    Oh thank god! Those singles ads were driving me bonkers!

  27. Tom says:

    Thanks a miilion, KV. Worked like a charm!

  28. Michelle says:

    Installed all of them, except the one that kills the whole sidebar. Looks fine!

    Thank you very much for posting this stuff.

  29. kev says:

    Thanks a lot…

  30. Polly says:

    Thank you very much, it worked a treat and easy as pie. In England, using Apple OSX 10.5.8; happily ad-free. Thanks again, chaps x

  31. RichCowell says:

    Some ads have sneaked back in again… If anyone works out what to block, please update asap! :)

  32. Eric says:

    thank you VERY much for this :>

  33. eedie says:

    I can not thank you enough for doing this. This has been quite a bother for many reasons and now it is gone. Thank you! Thank you! Thank you! What a blessing.

  34. bamm says:

    great works !
    thanks a lot !

  35. Deb says:

    I’m so happy— you have made my day, thank you. Just because I changed my status to “single” recently, facebook thinks I am miserable without a relationship. I spent quite a bit of time trying to “tell” them that I find every single ad they send me “offensive”, but they don’t seem to listen or care. This is discouraging and not good for them in the long run, I fear. Ironically, very, very poor marketing on their part.
    Does anyone know of a way to contact these morons directly, like a customer service department? (ha, ha, ha–right!)

  36. willswords says:

    Thanks! The new American Apparel ad drove me to do something about these ads, and I’m glad I found your excellent instructions.

  37. willswords says:

    Hmmm, after tinkering with the settings I don’t think that adding facebook.com#*(social_ad) and facebook.com#*(social_ad_advert) actually does anything – it appears that subscribing to EasyList is what is actually blocking the ads on Facebook?

  38. willswords says:

    I made a Stylish userstyle of your custom.css version:

    http://userstyles.org/styles/23859

    (Stylish is a Firefox extension similar to AdBlock, except that it is more general purpose)

  39. James says:

    The “sponsered” ads have snuck back in with the latest “improvements” Facebok has made. Any ideas as to how to get rid of those??

  40. hate facebook says:

    just use these for the new layout

    facebook.com#*(class=ego_unit ego_spo)
    facebook.com#*(class=rfloat)
    facebook.com#*(adcolumn_wrapper)

  41. Tony says:

    This works very well on the sidebar ads, but there is a banner ad at the bottom of apps like Farmtown that none of these settings removes, any ideas how to block that?

  42. ThinkAboutIt says:

    Facebook’s business model is based on advertising. When small businesses such as myself want to advertise, FB strategically takes keywords and demographics from each profile and will strategically advertise on your profile. Advertising cost money.

    When clicks go through, FB makes money, it pays their developers and costs for servers. When FB doesn’t make any money, FB can’t afford to pay their developers or for servers, and ultimately can’t sustain itself and the website will either no longer be free or cost money to be a member.

    How will you absolutely function the day you can’t plant on your farm or send gifts?

  43. One more for the newer ads..

    facebook.com#*(adcolumn_wrapper)

  44. Venelis says:

    To remove “suggestionbox” from the right top of the screen just use this mask:

    facebook.com##.ego_imageblock

    Thanks to From Norway (https://adblockplus.org/forum/viewtopic.php?f=2&t=5305)

  45. Baalcebub says:

    Finally! I have been trying to block those annoying adds for a long time, all I had been able to do was blocking the images on the ads but not the text or the links. Thank you so very much.

  46. [...] and facebook. No ads = no money to facebook. I also use adblock plus on firefox. Here’s a how-to guide on [...]

  47. [...] anyway so why not make the change now. It also works on Safari too. Read the article here – https://ausbury.wordpress.com/2008/07/02/block-facebook-ads-in-firefox/ This entry was posted in social networking and tagged facebook, firefox, internet, safari, [...]

  48. [...] anyway so why not make the change now. It also works on Safari too. Read the article here – https://ausbury.wordpress.com/2008/07/02/block-facebook-ads-in-firefox/ bookmark to: Posted in Computer Related, Social Networking | Tags: annoying ads, facebook, [...]

  49. Cooper says:

    Thank you! Thank you! Thank you! I get panic attacks and American politics of the 21st century has been the cause of quite a few. (Unfortunately, there’s probably people from around the world that can say too.) I just had one because of a political ad on Fb. After following your instructions, that area is now blank. FYI, it still works 2 years later in Snow Leopard.

  50. eXe says:

    I use Ad Muncher, Best Ad Blocker out there! (click my name for link)

    Blocks ads in all browsers, including Internet Explorer, Firefox, Opera, Google Chrome, Safari, Flock, Netscape, Maxthon and Avant Browser, blocks many spyware, adware and dialer installers, have a lot of functions and daily filter list updates, it is a lot much better than any ad blocker.

    It’s not free but definitely worth the money.

  51. OiC says:

    Added all the filters mentioned here.
    Blocked that stupid, loud, annoying Evony advertisement! I hated that thing, starts playing at the most inconvenient times.
    THANK YOU!!!!!!!!!!

  52. mo says:

    I’ve tried everything posted on here but nothing is working. Any ideas?

  53. Geoff C. says:

    Worked beautifully. Instructions were very simple and easy to follow. Got rid of Secret Crush posts and sex related ads that suddenly started appearing on my Facebook page. Feels great to have gotten rid of them once and for all. As well Firefox is a great browser to be able to handle this crap once you add the filter to it!:)

  54. jaja9 says:

    Thank you, it worked and I’m now ad free on facebook. Cheers to you and yours for a great 2011.

  55. [...] Block Facebook Ads In Firefox & Safari (via The Ausbury Blog) Posted on January 2, 2011 by jaja9 Here at Ausbury Headquarters, we are becoming addicted to Facebook. However, is anyone else really annoyed by the new targeted ads in the left column? How many times a day to I need to be reminded that my abs are non-existent? How many girls in their underwear does my teenager have to see every day? My son and I did some research and here's how to block all the bothersome ads on Facebook. This is quite easy to do if you're using Firefox – just us … Read More [...]

  56. Linda says:

    I tried the instructions to get rid of the annoying Facebook pop up ads by adding on the Firefox adblock plus preferences…and it worked!! Thanks so much!!

    • Passing through.. says:

      If anyone actually believes the only way Facebook makes money is by those ads they are delirious.

      Because if anyone thinks those companies that have applications get to have them on there for free… needs to stop living in the fantasy world and wake up to the real world.

  57. [...] The Ausbury Blog and Earle’s Notebook // Hello there! If you are new here, you might want to subscribe to [...]

  58. mr long says:

    WORKS!!!!!!!!!!!

    • Kerry says:

      Grrrr, been using this some time but it’s just stopped working. I’ve confirmed that the filters are still in place on Adblock. Does anyone have an update.

  59. James says:

    thank you worked good and it all installed automatically, I noticed I had facebook already open and add block applied the block to FB with no other prompt…thx again

  60. Praveen Bhat says:

    Thanks a bunch. Seems to work well with Firefox.

  61. belovedgal says:

    I’ve added these filters and they work great while I’m on MY wall, but when I go anywhere else, I get slammed with ads again…friend’s pages, my groups, etc. Any way to apply these filters to all FB pages I want to view?

  62. Markus says:

    I’m a Mac user and I tried the Text Edit thingy but it won’t work :( I still get those annoying ads on the right side. Any ideas???

    • Gemma Lynch says:

      I agree with Markus. I’m a Mac user too and the Text Edit program didn’t help :( I don’t think it works for the new profile layout on Facebook….?

  63. geoffrey says:

    thanks so much! my computer is now so much faster!

  64. James says:

    Awesome, man. I boycotted Facebook since they added inline ads. Now that I have this installed, I’m back on Facebook. I’m fine with the ads on the side, but the inline ads made the whole experience so much more cumbersome.

  65. Earl Lee says:

    so niiiiiiiiiiiiiiiiice! worked perfectly. thanks, ~Earl

  66. Peed off facebook user says:

    doesnt block it, just hides the image :( text ads still remain.

  67. Kay says:

    Thank you so very much!!!!

  68. mgcat989@ says:

    It didn’t do anything for me. I have a mac 10.6 (I think) and I thought I followed the instructions correctly.

  69. I was googled how to get rid of the ads on Facebook because it was constantly starting video ads automatically and came across your blog! Thanks for the post! It worked! :)

  70. Steve says:

    When I installed this and restarted firefox there was no option to add filter?

  71. F. Luccava says:

    I’m using Firefox 3.6.10 and the add-on said that my Firefox doesn’t support the add-on. How come?

  72. Steven says:

    Sorry, but i did just what you wrote, but it’s still there. :((

  73. David says:

    I’ve found these Adblock Plus “Element Hiding Rules” blocks everything on the facebook right hand column, including all ads and sponsored ads:
    facebook.com#*(class=ego_column)
    facebook.com#*(class=rfloat)

  74. James Brown says:

    hey thanks you so much. the adds on facebook were becoming to overbearing. you’guys rock thanks

  75. This was excellent. And it worked. Typed in the offending website and both have been blocked on internet explorer as well as Mozilla. Thanku, and now I can deal with my young man, that is not suppose to be viewing in appropriate content.

    thanks again.

  76. Hey guys, I’ve just posted an article that shows how to remove ads using a different technique than the AdBlock addon. In Firefox and Chrome, you’ll use Greasemonkey and Tampermonkey, respectively, and in Safari and Internet Explorer you’ll use a custom user-specified CSS stylesheet. Light-weight solution and works with the latest layout of Facebook (Timeline included). There you go: http://wnstnsmth.net/blog/2012/09/how-simple-it-is-to-remove-facebook-ads-in-all-major-browsers

  77. #humancrazzy says:

    Thanks buddy this is what I have been looking for I think I m going to like the community.

    Regards

  78. This design is spectacular! You certainly know how to keep a reader amused.
    Between your wit and your videos, I was almost moved to start my own
    blog (well, almost…HaHa!) Fantastic job. I really
    enjoyed what you had to say, and more than that, how
    you presented it. Too cool!

  79. Vikas says:

    thank you, It worked

  80. Muhammad says:

    Just desire to say your article is as astonishing.
    The clearness to your publish is simply cool and i could
    suppose you’re a professional in this subject. Fine along with your permission let me to snatch your feed to keep up to date with impending post. Thanks one million and please carry on the rewarding work.

  81. […] نشونتون بدن که دوس دارید ببینید.البته به نحوی میشه جلوی نمایش اونهارو گرفت ولی بهر حال نباید زیاد امیدوار بود. شما که نمی خواید […]

  82. Yepi Games says:

    I was curious if you ever thought of changing the structure
    of your site? Its very well written; I love what youve got to say.
    But maybe you could a little more in the way of content so people could connect with it better.
    Youve got an awful lot of text for only having 1 or 2 images.
    Maybe you could space it out better?

  83. I remember that I fixed my problem after reading this article back then and now just passed by again. So funny to remember the problem…

  84. Howdy! Do you know if they make any plugins to assist
    with SEO? I’m trying to get my blog to rank for some targeted
    keywords but I’m not seeing very good results. If
    you know of any please share. Cheers!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 294 other followers

Blog Topics
Yours Truly
Doug Ausbury

Doug Ausbury is an entrepreneur, coffee achiever, baseball addict, aspiring spousal unit, pop music geek and family man. Most of the time, he needs more cowbell...a lot more cowbell.

Goodreads
Quote
The soul takes flight to the world that is invisible, but there arriving, she is sure of bliss.
Plato
Follow

Get every new post delivered to your Inbox.

Join 294 other followers

%d bloggers like this: