News for hackers. Stuff that matters.
Re:Facebook will force advertising on ad-blocking users by Leynos on Tuesday August 09, 2016 @10:51AM (#12254863)
uBlock can already do this (I use it for hiding the Twitter "while you were away" nonsense), although I suspect that the next step is Facebook scrambling DOM classes and ids with no discernable pattern.
Re:Facebook will force advertising on ad-blocking users by gorhill on Tuesday August 09, 2016 @11:18AM (#12255143)
> scrambling DOM classes and ids with no discernable pattern

That's why I have been beefing up the DOM filtering code in the latest versions -- there are already sites doing this.

There is a lot of untapped potential with the new operators, I am waiting for opportunities to put them to test, and fine-tune them if needed.

Re:Facebook will force advertising on ad-blocking users by aleem on Tuesday August 09, 2016 @02:22PM (#12256681)
Thanks for your wonderful work.

> That's why I have been beefing up the DOM filtering code

Isn't it all done through CSS selectors? Could you share more?

How about leveraging other heuristics such as HTTP headers (response cookies for starters) or timing information?

Re:Facebook will force advertising on ad-blocking users by aantix on Tuesday August 09, 2016 @11:26AM (#12255212)
Just realized that you're the author of uBlock..

If you can't filter on classes or id's, what else? Dom element ordering? Image size properties? Structure of ad text?

Re:Facebook will force advertising on ad-blocking users by uremog on Tuesday August 09, 2016 @01:20PM (#12256160)
Thank you for your service.
Re:Facebook will force advertising on ad-blocking users by hokkos on Wednesday August 10, 2016 @05:47AM (#12260515)
Something like react-armor can make cryptographically unpredictable class name, tree structure and tag name obfuscation. But it won't be enough if the ad itself is not written with the same toolkit.

https://github.com/elierotenberg/react-armor

https://youtu.be/n63XXHY4A7I

Re:Facebook will force advertising on ad-blocking users by amyjess on Tuesday August 09, 2016 @11:24AM (#12255191)
The next step then is for uBlock to use a machine learning algorithm to analyze the rendered page and hide anything that resembles an ad.
Re:Facebook will force advertising on ad-blocking users by Bartweiss on Tuesday August 09, 2016 @11:26AM (#12255215)
I wouldn't hate this, even if it's imperfect - the most common false positives would be brand-pushing content I don't want even if it's not actually paid advertising.
Re:Facebook will force advertising on ad-blocking users by MarkMc on Tuesday August 09, 2016 @12:05PM (#12255546)
You wouldn't need machine learning, just allow the image to be seen by a hundred users and see how many mark it as an ad.
Re:Facebook will force advertising on ad-blocking users by amyjess on Tuesday August 09, 2016 @12:11PM (#12255594)
Well, that's how you build a training set.

But you still have to identify features and use an algorithm that basically goes "users identify images with features A, B, and C as ads, and they identify images with features X, Y, and Z as not ads, so put positive weights on A, B, and C and negative weights on X, Y, and Z, and block anything with a negative enough score".

Re:Facebook will force advertising on ad-blocking users by ruste on Tuesday August 09, 2016 @10:57AM (#12254921)
Then we can possibly block them by matching structural elements?
Re:Facebook will force advertising on ad-blocking users by ultramancool on Tuesday August 09, 2016 @11:03AM (#12254985)
Yeah, or visual, anything with this CSS attributes applied (so even if they randomize names it can still be blocked) to it or something. Maybe even the element at this rendered location, which would pretty much guaranteed kill them unless they wanted to change ad locations randomly. In any case this is a pretty trivial problem.
Re:Facebook will force advertising on ad-blocking users by FT_intern on Tuesday August 09, 2016 @11:05AM (#12255007)
is that why Google scrambles everything?
Re:Facebook will force advertising on ad-blocking users by cocotino on Tuesday August 09, 2016 @11:22AM (#12255180)
No, that's for bandwidth savings I reckon.
Re:Facebook will force advertising on ad-blocking users by pseudointellect on Tuesday August 09, 2016 @11:00AM (#12254955)
"while you were away" nonsense? A feature that shows you popular tweets from only people you follow. How is that nonsense?
Re:Facebook will force advertising on ad-blocking users by douche on Tuesday August 09, 2016 @11:04AM (#12254990)
There are people that would like Twitter to just be a straight-up, chronological feed of tweets from people that you follow.

I'd love it if the infinite scrolling shit went away and I could look at tweets by last hour, last 12 hours, last 24 hours, etc, and then paginate by day after that.

Re:Facebook will force advertising on ad-blocking users by tdkl on Tuesday August 09, 2016 @11:05AM (#12254999)
He doesn't want to see it and there's no option to hide it. FB is also full of attention catching crap like that, it's all engineered.
Re:Facebook will force advertising on ad-blocking users by nostrebored on Tuesday August 09, 2016 @02:11PM (#12256592)
You act like engineering things that most people like is a bad thing.

You're not going to please everyone. Even people who will like it a month down the line will hate it when you first roll out the change. And we should you have to support (|feature|!) different websites?

Re:Facebook will force advertising on ad-blocking users by tdkl on Tuesday August 09, 2016 @03:47PM (#12257256)
> You act like engineering things that most people like is a bad thing.

Like or is being exploited based on genetical brain responses to like because of the result of the "quest for new information" ?

This behaviour is psychologically engineered to trigger more dopamine fueled hits and with it fueling site engagement.

Re:Facebook will force advertising on ad-blocking users by nostrebored on Tuesday August 09, 2016 @04:32PM (#12257495)
Everything you like is based on brain responses. Fueling engagement with your product is only necessarily harmful if your product is harmful.

I hope you don't like music, movies, amusement park rides, love, etc., because I have some bad news for you.

Re:Facebook will force advertising on ad-blocking users by tomjen3 on Tuesday August 09, 2016 @11:03AM (#12254987)
Because thats my twitter feed. Really I don't follow more people than i can keep up with, so I want to read _all_ their tweets.

Which is apparently a usage pattern nobody at twitter gets.

Re:Facebook will force advertising on ad-blocking users by swasheck on Tuesday August 09, 2016 @11:23AM (#12255181)
I'm not sure why you're being downvoted. This seems like a legitimate question.
Re:Facebook will force advertising on ad-blocking users by pseudointellect on Thursday August 11, 2016 @01:04PM (#12269915)
I'm being down-voted because I'm arguing for a feature that all-knowing "hackers" on here feel is hampering their user experience. Because they know what's best for every product they use. And everyone uses that product in the exact way they do so the product should be catered to only them.