1

Facebook has recently started inserting advertisements into my feed, where they are disguised as posts from friends and organizations I follow. My ad blocker seems unable to recognize these as advertisements, but can be configured to block specific markup. Unfortunately, as near as I can tell, Facebook has been aggressive in obfuscating the markup for such posts, making them hard to distinguish from real posts.

Is there distinctive markup in Facebook's new stealth ads that can be used to identify them. Are then ad blockers that can do this?

2
  • Your feed where - in the browser, in Messenger, ...?
    – user416
    Aug 11, 2016 at 13:22
  • @JanDoggen: Anywhere, but browsers primarily.
    – orome
    Aug 11, 2016 at 13:34

2 Answers 2

2

Adblock Plus now copes with Facebook's stealth ads through it's EasyList filter. All you have to do is enable that, or manually ad

facebook.com##DIV[id^="substream_"] ._5jmm[data-dedupekey][data-cursor][data-xt][data-xt-vimpr="1"][data-ftr="1"][data-fte="1"]

to your custom filters.

1

F.B. Purity seems like it will do what you are looking for. I have not used it recently as I do not use Facebook anymore but I remember it having lots of settings for removing annoying content. It also had a button on every post you could click to hide all of that specific type of content. Check out the features page to see the full list.

3
  • That looks promising, but it uses Tampermonkey, which is pretty hacky. Any idea if there's something less intrusive and that messes less with low level stuff?
    – orome
    Aug 11, 2016 at 16:45
  • No I do not know of anything else. I also don't see how using Tampermonkey is hacky or low level. Both adblock and F.B. Purity are just scripts, one is made for blocking ads, the other specifically for cleaning facebook. If you are unsure of scripts in Tampermonkey you can read through the source code or write your own userscripts.
    – Ryan89
    Aug 11, 2016 at 17:09
  • I'll give that a try and see how it works.
    – orome
    Aug 11, 2016 at 17:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.