News for hackers. Stuff that matters.
Re:Many major websites are taking silent anti-ad-blocking me... by gorhill on Thursday December 28, 2017 @11:08PM (#16027449)
In the paper, this excerpt:

> We choose Adblock as it is one of the most popular. It is also possible to use Adblock Plus or uBlock, as the way they operate is exactly the same — HTTP filters and HTML element hiding.

AdBlock in the Chrome store uses Adblock Plus filtering engine[1], so to say the way these two "operate is exactly the same" makes sense.

However uBlock Origin uses its own code base, and is far better equipped than AdBlock/Adblock Plus to deal with anti-blockers, so to say that the way uBO operates is "exactly the same" is a stretch.

* * *

[1] Since version 3.0: https://help.getadblock.com/support/discussions/topics/60000... -- it's not explicitly stated in the announcement but this code repo mirror shows it: https://github.com/kzar/watchadblock/blob/c5f5b7f535182d6774...

Re:Many major websites are taking silent anti-ad-blocking me... by bradknowles on Friday December 29, 2017 @12:37AM (#16027810)
TIL that the author of uBlock Origin reads HN.

Cool!

And thank you for your service to the Internet!

Re:Many major websites are taking silent anti-ad-blocking me... by mobilemidget on Friday December 29, 2017 @03:52AM (#16028456)
They all suck. Period.

Block any outgoing connection you don't trust instead of simply taking some 3rd party list with URLs, unverified, no quality control etc, and only blacklist these KNOWN bad urls.

Ad parties don't sit still, they don't keep their ads on the same url when they found out they are blocked or maybe already preventive rotate through new urls etc.

In the end you'll end up with some bizar long list which has to be checked for every url you visit etc etc. This will be a performance hog, and if you cant imagine that, then your list isn't long enough yet.

Use proper egress filtering, allow what you know, and don't allow what you don't know, not just what some 3rd party put on a list.

My advice for you in 2018.

For ""Block by default" is a usability nightmare."

yes it is for a week or 2, but I prefer usability nightmare then a safety nightmare.

Re:Many major websites are taking silent anti-ad-blocking me... by gorhill on Friday December 29, 2017 @07:22AM (#16029118)
> They all suck. Period. Block any outgoing connection you don't trust instead of simply taking some 3rd party list with URLs, unverified, no quality control etc, and only blacklist these KNOWN bad urls.

uBlock Origin allows you to block yourself any outgoing connection to servers you do not trust, including working in default-deny mode if you want[1].

In any case, those filter lists are maintained by dedicated volunteers[2], their work is way under-appreciated, because contrary to what you state, these volunteers spend a whole lot of time ensuring everything work as expected so that in the end all non-technical users who wouldn't be able to deal with default-deny mode can also be protected.

* * *

[1] https://github.com/gorhill/uBlock/wiki/Blocking-mode:-medium...

[2] https://github.com/easylist/easylist/commits/master https://github.com/uBlockOrigin/uAssets/commits/master

Re:Many major websites are taking silent anti-ad-blocking me... by joaodlf on Friday December 29, 2017 @04:03AM (#16028490)
Way too negative.

I have been using uBlock Origin for years and it's one of those things that just works. Turning it off in those rare moments it needs to be off is a bleak reminder of the state of the internet. Why would I want to go through the hassle of managing all of this work by myself?

A massive THANK YOU to the individuals behind uBlock - You literally make the internet tolerable for me.

Re:Many major websites are taking silent anti-ad-blocking me... by mobilemidget on Friday December 29, 2017 @04:10AM (#16028512)
I don't know why you call it negative, I call it realistic.

It's like putting all _caught_ pedofiles in a jail, and then saying children can roam the streets free and in safety...

Re:Many major websites are taking silent anti-ad-blocking me... by yjftsjthsd-h on Friday December 29, 2017 @07:56AM (#16029239)
> I don't know why you call it negative, I call it realistic.

Negativity usually bills itself as realism, but that doesn't make it so.

Re:Many major websites are taking silent anti-ad-blocking me... by otp124 on Friday December 29, 2017 @04:25AM (#16028549)
It might be realistic to whitelist egress on a production server, but certainly not at my mother’s house.
[dead]
Re:Many major websites are taking silent anti-ad-blocking me... by QasimK on Friday December 29, 2017 @07:06AM (#16029062)
The point is that if you do what you suggest, either maintaining your mothers’ devices becomes practically a full-time job where you are on call at all times (and you end up fully monitoring what she is doing even if you don’t want to know), or, from her perspective, the internet is “broken”. Probably both.
Re:Many major websites are taking silent anti-ad-blocking me... by thinkMOAR on Friday December 29, 2017 @08:21AM (#16029336)
The point is, that you make assumptions how much work it actually is and i am not, as i do this with almost everybody that asks me for such 'help' (after fixing, cleaning etc their machines).

Stating it will be a full time job is such an overstatement, i'd almost call it a blatant lie. Your mom is on FB, YT, and maybe a handful of other sites daily (so no popups for those or decisions to take there). You could also monitor and log and then apply block/allow rules later for when you visit for coffee or dinner. (if you want to reply something here about unprotected in that period, think about all the new bad urls not on such url lists yet for apps like uBlock)

And i only get positive feedback how well it works and how much they learned about websites and other internet services, the information leaked to 3rd parties, cooperation between companies. Even scared some contacts i have from social media like FB, Instagram and alike. Makes them a lot more aware of what is going on instead of giving them a list of known crap urls, again, maintained by some samaritan in an attic. Nice effort, i just think its fair from sufficient nowadays on the internet. In the time it takes these people to update the list, 1000 new crap urls have been registered.

And doesn't take that much time, sure you have to put in some more time then, simply telling people to install uBlock (or similar) and tell them that they are safe and secure with this application. I prefer to educate properly instead of just throwing some half *ed solution their way and having them figure out it fails in the end anyway.

Another note, the internet is broken, broken in many ways. And _you_ know this else you would not suggest any protection, apps like uBlock.

Re:Many major websites are taking silent anti-ad-blocking me... by elorant on Friday December 29, 2017 @09:12AM (#16029523)
It might be realistic for you, or me or anyone in here, but it definitely isn't realistic for the average user. And it's them we try to protect by blocking ads. Technical savvy people have an armada of options at their disposal, for example we could just block JavaScript. But the average Joe relies heavily on ad blockers for a smoother and safer experience browsing the web. You can't expect non technical users to do any of the things you propose.
Re:Many major websites are taking silent anti-ad-blocking me... by ggg9990 on Friday December 29, 2017 @07:37PM (#16033032)
You're arguing against yourself. They do put all caught pedophiles in jail, and it's extremely safe for children to roam the streets from a pedophile point of view (but very risky from a car accident point of view).
Re:Many major websites are taking silent anti-ad-blocking me... by ascorbic on Friday December 29, 2017 @04:35AM (#16028586)
> Block any outgoing connection you don't trust instead of simply taking some 3rd party list with URLs, unverified, no quality control etc, and only blacklist these KNOWN bad urls.

Right, and how is that supposed to happen in practice? Manually inspect every CDN domain loaded on every page that you visit? Or just live without scripts, images, fonts, video?

Re:Many major websites are taking silent anti-ad-blocking me... by klibertp on Friday December 29, 2017 @06:24AM (#16028914)
> Manually inspect every CDN domain loaded on every page that you visit?

Basically, yes, see uMatrix. It's not for non-web-devs, I feel, but if you can easily recognize unnecessary connections it works pretty well.

Re:Many major websites are taking silent anti-ad-blocking me... by _0ffh on Friday December 29, 2017 @07:46AM (#16029212)
> It's not for non-web-devs, I feel

I don't know. I'm not a web dev (x), and I went from "dafuq?" to "I get it, this is so cool" in two minutes flat. Let's just say it sure helps if you're a technical person, not j. random user.

(x) but engineer/CS, tbh

edit: remove accidental markup

Re:Many major websites are taking silent anti-ad-blocking me... by TheSpiceIsLife on Friday December 29, 2017 @07:49AM (#16029225)
I'm a trade qualified welder and metal fabricator and even I understand uMatrix. It's not rocket surgery.
Re:Many major websites are taking silent anti-ad-blocking me... by klibertp on Friday December 29, 2017 @08:04AM (#16029268)
> It's not rocket surgery.

Certainly, it just can take more time to sift through the list of tens of domains and deciding to allow or ban each connection if you don't already know which connections tend to be needed and which are not.

Still, it's perfectly doable for anyone if you experiment a little, and it's done once per site, so the time needed for this shouldn't be an issue. It's just that people working with this stuff will have an easier time using uMatrix - which is what I really meant in my comment above :)

Re:Many major websites are taking silent anti-ad-blocking me... by QAPereo on Friday December 29, 2017 @10:43AM (#16029975)
Same here, and I’m not an engineer or CS. uMatrix is IMO something a bright child could work out through trial and error.
Re:Many major websites are taking silent anti-ad-blocking me... by apricot on Friday December 29, 2017 @07:50PM (#16033087)
Am bright child, can confirm.

(Just kidding, I'm actually a foolish middle-aged man. But I'm talking about my inner bright child.)

Re:Many major websites are taking silent anti-ad-blocking me... by dhimes on Friday December 29, 2017 @07:59AM (#16029245)
if you can easily recognize unnecessary connections it works pretty well

I find recognizing unnecessary connections to be the painful part.

Re:Many major websites are taking silent anti-ad-blocking me... by supergreg on Friday December 29, 2017 @08:20AM (#16029329)
I'll trust the block lists from my internet neighbors. Thank you for your concern but the people who build those lists take sufficient care and most use a transparent process to add rules to them, like GitHub pull requests, and if there's ever a rule that wrongly blocks a site I can whitelist it myself with ease.

They might burn some CPU cycles but surely the ads themselves burn much more.

Re:Many major websites are taking silent anti-ad-blocking me... by eps on Friday December 29, 2017 @04:14AM (#16028521)
"Block by default" is a usability nightmare.
Re:Many major websites are taking silent anti-ad-blocking me... by thinkMOAR on Friday December 29, 2017 @05:12AM (#16028689)
Little snitch! (OSX) https://www.obdev.at/products/littlesnitch/index.html

no i don't work for or get paid in anyway by little snitch, i just love the product.

Re:Many major websites are taking silent anti-ad-blocking me... by kstrauser on Friday December 29, 2017 @10:47AM (#16029996)
You beat me to it, but I was going to mention LS too.

Imaging you start off with Safari being unable to connect to anything. Little Snitch is running in Alert Mode and it asks you to decide on every outbound network connection. You visit Facebook. LS asks if Safari can talk to facebook.com on port 443. You say "yes, always". What about "server893.ads.facebook.com:443"? You say "make that .ads.facebook.com and block it forever". Do this through the few dozen prompts you'll get on this first visit when you visit a resource-heavy domain. Now hit reload and pick up a few more (like maybe this time you'll get a connection to a video CDN that you didn't see last time). Repeat until the requests taper off to nothing.

Now put Little Snitch into "Silent Deny" mode and enjoy your Safari that can only view ad-free Facebook.

Note: I don't really recommend doing this because I'd rather be doing almost literally anything else, but if I had to set up a social media kiosk for a relative, that's how I'd go about it.

I do highly enjoy telling Little Snitch to deny connections to all the non-port-80/443 ad trackers. I can't imagine a single legitimate reason why I'd want Safari to connect to moatads.com:843.

Re:Many major websites are taking silent anti-ad-blocking me... by zzleeper on Friday December 29, 2017 @01:47AM (#16028071)
What would you recommend for mobile? Browsing on Android with Chrome is a nightmare, and the last time I tried FF it was a bit sluggish (although it did allowed me to install extensions!)
Re:Many major websites are taking silent anti-ad-blocking me... by shandor on Friday December 29, 2017 @04:35AM (#16028587)
Firefox for Android is wonderful after Quantum. uBlock Origin works fine with it, and you can even use the custom filters to purge the scourge of the so called "dickbars" from your browsing experience. It's not as streamlined to use as with a mouse, but never having to see those Medium banners again makes my Internet life so much better.
Re:Many major websites are taking silent anti-ad-blocking me... by dhimes on Friday December 29, 2017 @08:08AM (#16029277)
Re:Many major websites are taking silent anti-ad-blocking me... by abhishek0318 on Friday December 29, 2017 @06:24AM (#16028916)
Though Firefox on Android has improved a lot with the recent quantum update, you can still feel it's a little laggy as compared to Chrome.

Specifically, scrolling on Firefox feels very laggy. Also, Firefox doesn't play videos on same tab. That becomes very frustrating.

Re:Many major websites are taking silent anti-ad-blocking me... by bryanlarsen on Friday December 29, 2017 @08:03AM (#16029263)
Are you sure you're using Quantum? Quantum isn't in Firefox 57 for mobile, you need the beta 58 for Quantum.
Re:Many major websites are taking silent anti-ad-blocking me... by distances on Friday December 29, 2017 @08:14AM (#16029295)
Huh, I didn't know this. I felt Firefox 56 -> 57 was a major improvement in Android too, and was sure this was due to Quantum. I wonder now if that was just placebo.
Re:Many major websites are taking silent anti-ad-blocking me... by bryanlarsen on Friday December 29, 2017 @08:55AM (#16029460)
It wasn't just placebo, some parts of Quantum made it in to 57 mobile, just not everything.
Re:Many major websites are taking silent anti-ad-blocking me... by diminish on Friday December 29, 2017 @02:16AM (#16028176)
On mobile Android I mainly use Firefox equipped with ublock origin in order to save battery, bandwidth and boost performance.

- This helps with all types of ads for many news and reading,

- the big benefit is: opening all youtube videos on Firefox with ublock origin in order to get rid of youtube ads -

Re:Many major websites are taking silent anti-ad-blocking me... by alykhalid on Friday December 29, 2017 @02:29AM (#16028230)
Have you tried Firefox focus[0]. I use it on a daily basis and I am quite happy with it.

[0]https://www.mozilla.org/en-US/firefox/mobile/

Re:Many major websites are taking silent anti-ad-blocking me... by emptyfile on Friday December 29, 2017 @07:20AM (#16029109)
Firefox is a LOT better since the Quantum update. Like, actually usable compared to Chrome.

A lot of websites will still look weird but still a million times better when you don't have popup windows poking your eye, also reading mode is a god send.

Re:Many major websites are taking silent anti-ad-blocking me... by dreen on Friday December 29, 2017 @09:15AM (#16029535)
Brave! Chrome engine, built in Adblock, some interesting ideas about paying content creators
Re:Many major websites are taking silent anti-ad-blocking me... by programbreeding on Friday December 29, 2017 @11:40AM (#16030284)
I've tried countless browsers on Android, as well as various adblocking plugins and services. I always found myself going back to Chrome because it just worked.

I started using Brave about a year ago and I love it. The only thing I'm missing is syncing my bookmarks between Brave on my phone and Chrome on my computer, but a year later and it hasn't bothered me enough to find a fix.

Re:Many major websites are taking silent anti-ad-blocking me... by FlyingLawnmower on Friday December 29, 2017 @01:19PM (#16030898)
Why not try Brave for desktop? Note: I am not a Brave user, genuinely curious about your experience!
Re:Many major websites are taking silent anti-ad-blocking me... by dreen on Saturday December 30, 2017 @07:44AM (#16035033)
I tried Brave on desktop but UI is a bit rough for me and lacking configurability. But it does improve every time I check
Re:Many major websites are taking silent anti-ad-blocking me... by just_observing on Friday December 29, 2017 @03:34AM (#16028406)
Re:Many major websites are taking silent anti-ad-blocking me... by dao- on Friday December 29, 2017 @06:42AM (#16028983)
Firefox for Android has built-in tracking protection, which also boosts performance. You can enable it in the privacy preferences.
Re:Many major websites are taking silent anti-ad-blocking me... by hollander on Friday December 29, 2017 @08:12AM (#16029288)
Firefox of course! I've been using it since the day it came out on Android. It means less phoning home to Google, and you can install Privacy Badger. Works for me like on the desktop.
Re:Many major websites are taking silent anti-ad-blocking me... by sebazzz on Friday December 29, 2017 @04:53AM (#16028642)
Not exactly an adblocker, but on your local network you could use pi-hole.
Re:Many major websites are taking silent anti-ad-blocking me... by b3lvedere on Friday December 29, 2017 @06:01AM (#16028834)
I've been running a pi-hole vm for a very long time now. It's awesome not having a ton of ads on mobile devices.
Re:Many major websites are taking silent anti-ad-blocking me... by pmlnr on Friday December 29, 2017 @10:25AM (#16029862)
Lightning with blocked 3rd party cookies and no Javascript. Wonderfully fast.
Re:Many major websites are taking silent anti-ad-blocking me... by jayess on Friday December 29, 2017 @08:40AM (#16029413)
Brave browser. I switched from Firefox a few months ago and I love it.