Update December 5, 2017:
All versions of AdBlock (AdBlock Premium for Chrome and AdBlock for Chrome, Microsoft Edge, Firefox, and Safari) can block ads and suggested posts on Facebook using new filter rule syntax available in EasyList. The EasyList list authors are now keeping up with changes Facebook makes to circumvent ad blocking. If you notice that suggested posts are breaking through, please report them to EasyList.
Update February 21, 2017:
The solution described below is working again! Facebook changes their code almost daily, it seems. The folks who maintain the "Facebook unsponsored" userscript are doing their best to keep up. You can help! If you start seeing sponsored posts again, please report it on the Greasy Fork "Facebook unsponsored" forum. In the meantime, be sure to keep your userscript updated so that you'll have the latest countermeasures every time a new version of the userscript is released.
On August 9, 2016, news broke that Facebook had decided to take a hard line against ad blocking by disguising ads in a way that makes them much more difficult for ad blockers to detect. The open source software community immediately rose to the challenge. Here's how to block those sponsored posts in your Facebook news feed.
Note: AdBlock for Microsoft Edge blocks Facebook sponsored posts without any additional help. You'll only need to follow the steps below if you use a different browser.
Note: Make sure that you are not subscribed to the Acceptable Ads filter list in AdBlock's options, FILTER LISTS tab! You probably won't be able to block any ads on Facebook with that filter list enabled.
According to this post on the EasyList forum, the best way to block Facebook's sponsored posts is to use a Tampermonkey userscript called "Facebook unsponsored."
(Quick review: Userscripts are tiny bits of computer code that help your browser do extra things. Your browser needs a script manager to run userscripts. Tampermonkey and Greasemonkey are the most popular script managers.)
Use Tampermonkey and the "Facebook unsponsored" userscript
1. Install Tampermonkey (or the equivalent for your browser) and enable it.
- Firefox and related browsers: Greasemonkey
- Google Chrome, Chromium, and related browsers: Tampermonkey
- Opera (version 15 and later): Tampermonkey or Violentmonkey
- Opera version 12 and earlier supports user scripts natively. Violentmonkey provides a friendlier interface and better compatibility.
- Safari: Tampermonkey
- Edge: Tampermonkey
2. Visit the "Facebook unsponsored" page and click the green Install this script button.
3. Refresh your Facebook page.
Keep your userscripts up-to-date
As Facebook changes its ad implementation, the author of the "Facebook unsponsored" userscript has been releasing updates to circumvent the new method. Here's how to make sure you have the latest version.
(Update December 15, 2016: Facebook hasn't changed its method in a while. If the "Facebook unsponsored" userscript hasn't been updated, but those sponsored posts are still being removed, there is no need to force an update.)
- Click the Tampermonkey button in your browser toolbar and then click Check for userscript updates.
- Click the Tampermonkey button in your browser toolbar and then click Dashboard.
- If the Last updated column for "Facebook unsponsored" does not show 15 d or less, select the check box at the left side of that row, then select Trigger update under "Please choose an option," and then click Start.
It should look something like this:
I still see ads in the right sidebar
This seems to be part of Facebook's more aggressive stance toward ad blocking. In addition to showing you sponsored ads in the newsfeed, Facebook is also forcing sponsored ads in the right sidebar.
The TamperMonkey + userscript solution isn't working for the sidebar ads. Instead, you'll need to use some custom filters to block the ads, like this:
- Click the AdBlock button and select Options, then click the CUSTOMIZE tab.
- Click Edit to open the custom filters box.
- Paste the filters below exactly as given.
- Click Save.
- Reload the page you're trying to view.
Copy these filters:
As always, we'll update this article if something changes!
Can I block Facebook sponsored posts on my mobile device?
We're looking into it. Follow the discussion on the EasyList forum.