How to block facebook ads

In the last weeks I noticed how facebook ads really annoyed me.

how to block facebook ads

I honestly don’t want to see random stuff, especially from Wish, which is almost disgusting sometimes. So I started to look for a solution, here is what I found out: First of all, if you are not using Brave as browser, you definitely should. Why? This is because Brave is a really safe browser and is even PAYING you to browse the internet. We don’t talk about millions but normally when you go on internet you get to see a lot of ads and you never get anything back. With Brave the Ad Block is included within the browser. Most of the ads will be blocked automatically but facebook ads can be disappear with a couple of clicks. Now I will show you how to see only the ads you are paid for!

Click on the top right of the screen to open the option menu, then click on the “Brave Ad Block” and finally go to look for the Custom Filters. Now just copy and paste the lines below:

api-read.facebook.com/restserver.php?api_key=$third-party
api.facebook.com^$third-party
badge.facebook.com^$third-party
connect.facebook.com^$third-party,domain=~facebook.net|~fb.com
connect.facebook.net^$third-party,domain=~facebook.com|~fb.com
facebook.com/connect/$third-party
facebook.com/dialog/oauth?display=popup$popup,domain=humorhub.org
facebook.com/plugins/activity.php?$third-party
facebook.com/plugins/comments.php?$third-party
facebook.com/plugins/facepile.php?$third-party
facebook.com/plugins/fan.php?$third-party
facebook.com/plugins/follow.php$third-party
facebook.com/plugins/like.php?$third-party
facebook.com/plugins/like_box.php$third-party
facebook.com/plugins/likebox.php?$third-party
facebook.com/plugins/post.php?$third-party
facebook.com/plugins/recommendations.php?$third-party
facebook.com/plugins/recommendations_bar.php?$third-party
facebook.com/plugins/send.php?$third-party
facebook.com/plugins/share_button.php?$third-party
facebook.com/plugins/subscribe.php$third-party
facebook.com/plugins/subscribe?$third-party
facebook.com/restserver.php?.getStats&$third-party facebook.com/whitepages/wpminiprofile.php$third-party facebook.com/widgets/activity.php?$third-party facebook.com/widgets/fan.php?$third-party facebook.com/widgets/like.php?$third-party facebook.com/widgets/recommendations.php?$third-party fbcdn-profile-a.akamaihd.net^$third-party,domain=~facebook.com google.com/js/client:plusone.js$third-party google.com/js/plusone.js$third-party graph.facebook.com/?id=$third-party graph.facebook.com^$third-party,xmlhttprequest profile.ak.fbcdn.net^$third-party,domain=~facebook.com scontent-a..fbcdn.net^$third-party,domain=~facebook.com
spot.im/embed/scripts/launcher.js$third-party
static.ak.fbcdn.net^$third-party,domain=~facebook.com

This method will work on any browser! I tested it with Chrome, Firefox and Brave, as long as you use AdBlock Plus or anything similar, it will work smoothly!

Credit for the code: https://github.com/ryanbr/fanboy-adblock

Leave a Reply

Your email address will not be published. Required fields are marked *