News for hackers. Stuff that matters.
Re:Princeton’s Ad-Blocker May Put an End to the Ad-Blocking ... by make3 on Friday April 14, 2017 @04:33PM (#14117084)
Just change the alpha values in the `coverContainer` function in `utils.js` and it actually blocks ads.

Patched `utils.js`: https://pastebin.com/YLyN2uJ8

Re:Princeton’s Ad-Blocker May Put an End to the Ad-Blocking ... by imglorp on Friday April 14, 2017 @05:03PM (#14117343)
Covering is not as good as not loading.

Loading brings all the malware, the tracking, and the bandwidth/load times.

Re:Princeton’s Ad-Blocker May Put an End to the Ad-Blocking ... by derefr on Friday April 14, 2017 @05:15PM (#14117468)
"Not loading" doesn't make sense in the case where the ad is inline in the response body (i.e. "part of the site", like Facebook's ads are.) Which is the case where this ad-blocker uniquely shines.

Besides which, the algorithm involved is a computer-vision one, so the ad needs to be rendered before the algorithm can recognize it as an ad.

The best solution here, if you want maximum privacy, would be to use a traditional ad-blocker as a first-line defence, and this algorithm as a second-line, for the ads which make it past regular ad-blocking (and which are therefore probably inline-content ads anyway.)

Re:Princeton’s Ad-Blocker May Put an End to the Ad-Blocking ... by the8472 on Friday April 14, 2017 @07:45PM (#14118361)
> where the ad is inline in the response body

That only applies to the HTML, which generally is fairly lightweight. They still load additional images, videos, do XHRs for tracking etc.

Re:Princeton’s Ad-Blocker May Put an End to the Ad-Blocking ... by SomeStupidPoint on Friday April 14, 2017 @05:30PM (#14117594)
You could feed back the visually blocked ads to a system that profiles their HTML/etc and then generates new rules for the first line blocking (which is usually itself a combination of not loading and not rendering).
Re:Princeton’s Ad-Blocker May Put an End to the Ad-Blocking ... by visarga on Friday April 14, 2017 @11:57PM (#14119308)
There's a big chance that the AD blocking AI would consume much more power than the AD scripts and make browsing slower.
Re:Princeton’s Ad-Blocker May Put an End to the Ad-Blocking ... by make3 on Friday April 14, 2017 @05:29PM (#14117589)
I agree, it's a limitation of the perceptual blocker, as it needs to `see` the ads to detect them. However, combined with a regular ad blocker to catch the ads that the regular ad blocker missed, it seems like a reasonable solution.
Re:Princeton’s Ad-Blocker May Put an End to the Ad-Blocking ... by jkaptur on Friday April 14, 2017 @05:46PM (#14117708)
But the whole point of this approach (as I understand it) is that companies may be able to deliver the ads in the same HTTP response as the content, they may render the whole page as a <canvas>, they may go to crazy lengths, but by sitting on top of all of that, this software can still block pixels that look like an ad.
Re:Princeton’s Ad-Blocker May Put an End to the Ad-Blocking ... by jkoebler on Friday April 14, 2017 @05:08PM (#14117385)
Hey—I wrote this article ... if anyone forks this and makes it real please let me know. @jason_koebler on twitter or [email protected]
Re:Princeton’s Ad-Blocker May Put an End to the Ad-Blocking ... by owenversteeg on Friday April 14, 2017 @05:55PM (#14117758)
Anyone know if it interferes with uBlock? I'm on mobile and can't test now.
Re:Princeton’s Ad-Blocker May Put an End to the Ad-Blocking ... by sauwan on Friday April 14, 2017 @04:50PM (#14117236)
This is probably obvious, but where is that file?
Re:Princeton’s Ad-Blocker May Put an End to the Ad-Blocking ... by make3 on Friday April 14, 2017 @04:59PM (#14117300)
The chrome extension file (.crx) is a zip file (with meta data). Just unzip it and you'll find the files, including the 'utils.js'.
Re:Princeton’s Ad-Blocker May Put an End to the Ad-Blocking ... by bhollander823 on Friday April 14, 2017 @08:24PM (#14118547)