Ask HN: Did Facebook just stop fighting adblockers?
One of my hobbies is writing userscripts, specifically adblockers for sites I frequent. Facebook in particular proved a great and worthy adversary on that front, thanks to their attempts to thwart my userscripts. Until very recently, they employed a unique combination of obfuscation techniques to prevent adblockers from programmatically identifying and removing their "Sponsored" posts.
Anyway, until recently I had a working (albeit hacky) adblock heuristic for Facebook that did the job. However, sometime today I noticed that my script stopped working.
Upon further inspection, they seem to have gone back to simply embedding the word "Sponsored" in plaintext, making it trivial for userscripts and adblockers to select and remove these elements.
Is it a fluke, or did Facebook just give up fighting adblock?
38 comments
[ 0.17 ms ] story [ 95.0 ms ] threadSo then you use aria-hidden on your area with the obfuscated Sponsored text in it. Userscript still needs to handle it just as much as before, and the screen reader is free from dealing with it.
at any rate there is no real connection between these two technologies and if FB wanted to keep something from screen readers but still force userscripts to have to work to figure out what to do about them there would be thousands of ways to make that the case.
But if you took it to court, in the U.S, if it went all the way to Supreme Court I have hard time believing it would not be denied. So effectively, they are not obligated to let you know which is which.
on edit: in initial discussion it was said " 1.1.1 Non-text Content, or 1.3.1 Info and Relationships." https://www.w3.org/WAI/WCAG21/Understanding/info-and-relatio... might be used as an argument that unidentifiable Ad content would be non-accessible https://www.w3.org/WAI/WCAG21/Understanding/info-and-relatio...
Has this been tried anywhere in a court?
Edit: Someone else mentioned the Social Fixer browser plugin which I'd never heard of. On AlternativeTo.net, FBPurity has 33 hearts and Social Fixer has 11. I don't know if that is accurate or not. It may depend on what features you want. Social Fixer is in browser plugin stores. FBPurity used to be but now isn't and must be downloaded directly from their website.
Edit: Actually, it looks abandoned, it was supposed to launch last year. They sold all the assets to Silvergate and nothing happened as far as I can tell.
Was surprised that it's still working now. Generally those don't work after a few days.
---
[1] i.e. ALL of it. :)
Not sure how things are on Facebook, my point is that element picker is not a silver bullet.
We need a next generation of adblocker with computer vision that can look at the page and recognize banners visually
Did it, reload the page, and then watch all the ads still there, but some random div panel getting lost that you need.
Facebook did it intentionally. So that ad blockers don't work.