How Facebook Keeps on Beating AdBlock at Its Own Game

Every content publisher and advertiser has something to say about AdBlock. It’s been around for some years and has helped protect users from some of the most egregious “You’re the 100,000th visitor” type advertising, but has also hit hard against sites that are a bit more sensible about the way they display their ad content. You can say that there’s a love-hate dynamic on the Internet surrounding this tool, but nothing epitomizes this more than the relationship that Facebook has with it.

Both AdBlock and Facebook consider each other a thorn in their side. Their dispute has led to an unofficial sort of coding competition with millions of spectators wondering whether AdBlock will be able to keep up with Facebook’s advertising code. But what do Facebook engineers do that frustrates AdBlock developers so much?

What’s Happening?

An article on TechCrunch published on 11 August 2016 has shown a spat between AdBlock and Facebook in its full glory with vigorous coding on both sides. The two sides have engaged in a war, with AdBlock trying hard to work around Facebook’s own workarounds. AdBlock aims to block all sponsored and advertised content on Facebook, and Facebook aims to bypass these mechanisms to continue to get browsers to display sponsored content. In the end Facebook came out on top for at least a month, but AdBlock says that the fight isn’t over. Its team has called upon its entire community to work on the issue. Up to the date of this article’s publishing, Facebook has continued to remain on top.

For those of you who use AdBlock regularly, you may notice that your sidebar is completely clean of advertisements, so you might be wondering what I’m talking about. The issue here is in relation to sponsored posts which appear on your news feed once in awhile. They look something like the following image.

I pinky-swear that I was using AdBlock when browsing around to make that screenshot.

How Facebook Gets Around AdBlock

As expected, Facebook’s method of getting around AdBlock is very similar to something I described in a piece I wrote roughly a year ago right here. For those of you who are a bit less inclined to read through walls of text and would rather get to the point, I described a couple of methods that could be used to either bypass AdBlock with simple HTML output (as opposed to JavaScript-based syndication) that disguises the ad as part of the rest of the site or adopts other methods of product promotion to achieve the same thing. Facebook chose the former.

Just like in the image above, the sponsored content looks like an ordinary “wall post” that you would see on your news feed on Facebook. Instead of using syndicated relays to display advertised content, Facebook chose to use their own backend engine to generate the ad content through the same HTML output that a normal news feed post would go through. This simple touch of code allows the company to continue to display ads to everyone, even those using AdBlock. Additionally, some of AdBlock’s attempts to get rid of this advertising has led to the elimination of legitimate posts from friends, taking away from the experience of Facebook users.

Of course, the ad posts still bear the “Sponsored” label, so you can easily spot them. Now, the reason this unnerves some people is because they believe this is an encroachment on their ability to choose the content they want to see. You can choose not to see a person’s content on Facebook by “unfriending” or blocking them. You cannot do the same with an advertisement (unless you take into account the fact that you can hide specific types of ads like in the image below).

Still, the choice to hide an advertisement means that you’re just choosing what kinds of ads you see, not opting out of them entirely.

Conclusion

Facebook is a company. For companies to survive they have to make revenue, and they will do this in any manner they can. At the same time, they are to some extent accountable to their users, giving them a strong incentive to produce advertisements that are relevant and as non-invasive as possible. This delicate balance provides the reasoning behind their workarounds to AdBlock.

Of course, we see the same dynamic with AdBlock. Its users make up a demographic that generally do not want to see advertisements, thereby pushing developers to keep finding new ways to block them rigorously. Somewhere between these two forces at work is a user who doesn’t really mind the sponsored posts but enjoys the work that AdBlock does against the most egregious offenders.

Where do you sit on this issue? Tell us in a comment and add to the discussion!

Is this article useful?

The Complete Beginner's Guide to Ubuntu 16.04

Are you tired of using Windows or OS X as your operating system and thinking of trying out, and possibly switching, to Linux? In this Complete Beginner's Guide to Ubuntu 16.04 ebook, we will guide you and show you everything you need to know about Ubuntu - the most popular Linux distro.

3 comments

Dansays

Are all adblockers incapable of blocking sponsored posts? I have an FB account but it is devoid of posts and has zero friends, and my news feed is bare. I just use my account to comment on blogs. So I don’t see sponsored posts. Is it because my FB is useless to advertisers or is my uBlock Origin extension working?

The site will probably see your “empty shell” account as unworthy of advertising on. It would be logical. I mean, if your newsfeed isn’t cluttered with your friend’s posts, the advertising would just stack up and make FB look like an ad network. :D

Just like AdBlock + FB Purity Is also having issues with Facebook rewriting ad code so there Ad blocking software is rendered useless. So far FB purity’s won the battle so far. But right now Facebook isn’t the only troublemaker, right now snapchat forced there stories on users without the ability to block unwanted stories on there site. Too much lately the social media sites are taking away the individuals right to control how they want there social media page to operate which I don’t know about everyone else, but for me they’re all gonna just push me away and off Social media entirely if they force ads and other crap on people that they don’t want. And @Dan Ublock origin is way better then AdBlock or AdBlock+. And because of the fact that Microsoft Edge won’t let you use Ublock origin or any other Chrome add on I went back to Vivaldi until they do