News for hackers. Stuff that matters.
Re:Show HN: Bypassing ad blockers for Google Analytics by tjpnz on Tuesday February 26, 2019 @04:12AM (#19252971)
Those who would consider doing this deserve a special place in hell right next to devs who don't respect user privacy and the crooks in the advertising industry who turn a blind eye to the fact they're distributing malware. By installing an adblocker I've made a conscious decision to not have your BS running inside my browser. Forcing it on me will at the very least result in me disabling JavaScript on all your pages.
Re:Show HN: Bypassing ad blockers for Google Analytics by apostacy on Tuesday February 26, 2019 @08:31AM (#19254100)
I work for a fairly high traffic website, and we got a demonstration a few weeks ago from a company that is offering to install software for us that can force about 80% of our ads through, with minimal modification on our part. It is this proxy that dynamically recompiles our javascript and knits it into our content. But we were told we should only turn on ad-forcing for only for older demographics, who were far less likely to care. Management opted to pass, only because it wouldn't improve things enough.

This is what we get for letting companies like Google decide what technologies win and reshape the landscape. We have become so dependent on javascript blobs and server side rendering that blocking ads will be an uphill battle. Honestly I think Google could shove ads down our throats if they wanted to, but they are holding back, for now.

The bulwark against this encroachment was Mozilla Firefox, and the OSS community. Firefox was supposed to provide a legitimate alternative vision for the web. But Mozilla decided to let Google define what was normal, and what features a web browser should and should not have.

Can't people see that Google's vision is box canyon?

Re:Show HN: Bypassing ad blockers for Google Analytics by Karawebnetwork on Tuesday February 26, 2019 @09:51AM (#19254687)
> But we were told we should only turn on ad-forcing for only for older demographics, who were far less likely to care.

I'm speechless, I just want to put some emphasis on this.

I wonder what other kinds of evil practice they push to this demographic. Perhaps more malware, because they are "less likely to understand them" too?

Re:Show HN: Bypassing ad blockers for Google Analytics by heliodor on Tuesday February 26, 2019 @07:43AM (#19253767)
If we're going to use ad blockers, at least let's admit to what we're doing and not claim a moral high ground.

You're implying the creator of the website is okay letting you receive the service or content on your terms. They are not. Ads and tracking are there because they earn the creators some amount of money.

One day when our tech will limit you to a binary choice of ads+tracking versus paying money, which way are you going to swing once your hand is forced?

Re:Show HN: Bypassing ad blockers for Google Analytics by squarefoot on Tuesday February 26, 2019 @08:20AM (#19254002)
"If we're going to use ad blockers, at least let's admit to what we're doing and not claim a moral high ground."

What I don't understand is why they insist in fighting against people who hate excessive ads. Adblockers don't install themselves, users install them, which sends the message they're resistant to advertising, so why embarking in this endless war costing them even more money to show an ad to people who wouldn't buy the service or product anyway? If a company screws with my adblocker and manage to show me an ad for something I need at 100€, I swear all divinities in the Universe I'll go buy that thing elsewhere for €150 rather than them. Been there, done that.

I would rather go for a much nicer alternative: "You using an adblocker? Fine, you get the content anyway but your traffic get the least priority so that users seeing ads will get some precedence over you". To me that would be nicer to all users while giving some advantage to those without adblockers, and to the company as well since adblocking users would never be able to clog the network. Would it be so hard to implement?

Re:Show HN: Bypassing ad blockers for Google Analytics by ubercow13 on Tuesday February 26, 2019 @09:32AM (#19254545)
What about the airline site I need to buy that plane ticket on using Google Analytics? What about the trackers embedded on the university website I need to access to apply for college? You're implying there's a real alternative choice where you can just not go on websites with trackers.
Re:Show HN: Bypassing ad blockers for Google Analytics by Bartweiss on Tuesday February 26, 2019 @11:05AM (#19255370)
In addition to those examples, it's significant that you can block Google Analytics without blocking ads, if you're worried about privacy more than disruption. In practice, blocking trackers is a privacy issue for me, while blocking ads is a security issue. Sites that are content to run ads as text or linked static images get through, but social media trackers and arbitrary JS from ad networks doesn't.

Also, you can turn off any of that blocking after you first visit the site. I don't understand how the narrative of "you agreed to use this site, then went back on your part of the deal" is supposed to work when the only way to discover what you're agreeing to is to land on the site and let it happen. Do Not Track was supposed to be a (partial) solution there, letting you state your conditions for use on arrival, but we all know how much respect those conditions got.

Re:Show HN: Bypassing ad blockers for Google Analytics by FridgeSeal on Tuesday February 26, 2019 @08:12AM (#19253956)
We do people who advocate for advertising insist so hard that pervasive tracking needs to be a part of it. If pages were serving up plain, static images, probably free of pervasive tracking, I wouldn’t feel the need to take the nuclear approach to ad tracking. Advertisers have really wrought this upon themselves.

I’m actually happy to pay for the media I consume, I actually do pay for some things, but nobody gets their advertising/trackers let through because the whole industry is patently untrustworthy. If publishers want ad revenue from me, they can remove pervasive tracking, it until then, they get nothing.

Re:Show HN: Bypassing ad blockers for Google Analytics by joshmanders on Tuesday February 26, 2019 @10:33AM (#19255061)
> If pages were serving up plain, static images, probably free of pervasive tracking, I wouldn’t feel the need to take the nuclear approach to ad tracking.

Because people who pay for these ads need to justify that the ROI is there. They need to know how many views, clicks, and other stuff. Just like you need to know many things in different areas.

I'm not defending terrible offenders like Google, but people don't just say "Yeah sure, let me just spend thousands of dollars on an ad and HOPE it gets clicks and views like you claim it will"

Re:Show HN: Bypassing ad blockers for Google Analytics by ForHackernews on Tuesday February 26, 2019 @10:42AM (#19255153)
> "Yeah sure, let me just spend thousands of dollars on an ad and HOPE it gets clicks and views like you claim it will"

Literally how marketing worked from the invention of the printing press right up until 2002 or so. It's obviously a sustainable business model.

Re:Show HN: Bypassing ad blockers for Google Analytics by stordoff on Tuesday February 26, 2019 @08:13AM (#19253961)
Let's look at it from the other side though. Not doing so is implying that I am okay with website owners adding whatever ads and tracking they like, terms unseen. I am not.

> One day when our tech will limit you to a binary choice of ads+tracking versus paying money, which way are you going to swing once your hand is forced?

Easy, paying money. I already do where it's an option.

Re:Show HN: Bypassing ad blockers for Google Analytics by Bartweiss on Tuesday February 26, 2019 @11:19AM (#19255542)
> Not doing so is implying that I am okay with website owners adding whatever ads and tracking they like, terms unseen.

This is precisely my objection. The narrative that blocking ads and trackers breaks an agreement with site owners makes no sense to me when I can't see the terms of that "agreement" until after I've landed on the site. Shrinkwrap contracts didn't become a reasonable practice when they turned into browsewrap, and indeed courts consistently hold that those contracts are valid only after presenting proper notice of terms to the user. Visiting a webpage is certainly not assent to allow third-party tracking or code execution.

If the site host wants to object to my continued use while blocking ads and trackers, fine. They're welcome to do so; sometimes I reduce my blocking and sometimes I leave the site, depending on the nature of the tracking and the value of the site. That's an agreement, blindly accepting whatever someone cares to serve is not.

Re:Show HN: Bypassing ad blockers for Google Analytics by ionised on Wednesday February 27, 2019 @06:35AM (#19262569)
> breaks an agreement with site owners

I love when people throw this argument out there. I made no such agreement. I signed nothing. My device will behave exactly how I tell it, not how advertisers tell it.

Re:Show HN: Bypassing ad blockers for Google Analytics by mathnmusic on Tuesday February 26, 2019 @10:26AM (#19254993)
This is quite silly. Am I also supposed to compulsorily watch all the ads that come up on TV in the commercial break and not mute it or leave the room?
Re:Show HN: Bypassing ad blockers for Google Analytics by everdrive on Tuesday February 26, 2019 @02:54PM (#19257757)
I believe this is precisely what spotify would like you to do. Last time I tried they client, they paused ad playback when I muted my speakers. Never again!
Re:Show HN: Bypassing ad blockers for Google Analytics by joshmanders on Tuesday February 26, 2019 @10:35AM (#19255079)
Just like ads on your TV you can "leave the room" by closing the page.

Whats with this entitlement that you shouldn't have to endure ads but also get to have the content too?

Re:Show HN: Bypassing ad blockers for Google Analytics by mathnmusic on Tuesday February 26, 2019 @10:47AM (#19255212)
I said "leave the room during the commercials". If what you meant is that I can't leave ONLY during the commercials, then this comes across as extremely user-hostile approach.

Should a user be forced to NOT mute the commercials? I'm clearly in the "NO" camp on this issue.

Re:Show HN: Bypassing ad blockers for Google Analytics by joshmanders on Tuesday February 26, 2019 @11:06AM (#19255382)
Can you fast forward through commercials? All you can do is mute the TV and/or leave the room. Even in systems like TiVO where you can rewind and fast forward they still mostly block you from fast forwarding commercials... No different than circumventing adblocks, but nobody complains about that.

Hell even TV networks track you. They know how many viewers are on certain shows and that. That's how they're able to garner high prices too.

Advertising is just something we always had to deal with. You don't have to watch commercials. You do that by not going to channels that have commercials, or using different services that you pay to not see commercials.

My point is, you are entitled to not be tracked. You're entitled to not have to see ads. But you are _NOT_ entitled to the content without those if the website decides the trade-off of you getting that content for free is by enduring those ads.

Close your window. Go somewhere else for content if the site you're visiting displays ads.

Re:Show HN: Bypassing ad blockers for Google Analytics by plushpuffin on Tuesday February 26, 2019 @12:49PM (#19256584)
I'm sorry, but this is a flawed analogy. When you leave the room for the duration of the commercial, you are essentially skipping/ignoring/blocking it. This is the same as hiding an ad on a webpage in that you are taking steps (pun intended) to avoid seeing/hearing the advertisement.
Re:Show HN: Bypassing ad blockers for Google Analytics by ionised on Wednesday February 27, 2019 @06:38AM (#19262583)
Presumably you are paying for your TV service, so why the fuck should you be watching ads as well?
Re:Show HN: Bypassing ad blockers for Google Analytics by joshmanders on Wednesday February 27, 2019 @04:17PM (#19267025)
You are paying for the service to provide you with TV. You are not paying the networks. Just like by paying for internet you're not paying Google.
Re:Show HN: Bypassing ad blockers for Google Analytics by ionised on Wednesday February 27, 2019 @06:36AM (#19262577)
believe it or not, some people genuinely are sociopathic enough to suggest that yes, you should; and by not doing so you are somehow stealing from them.

The inflated sense of entitlement in surveillance capitalists is palpable.

Re:Show HN: Bypassing ad blockers for Google Analytics by ForHackernews on Tuesday February 26, 2019 @09:45AM (#19254648)
Google Analytics isn't an advertisement, it's a tracking system.
Re:Show HN: Bypassing ad blockers for Google Analytics by Bartweiss on Tuesday February 26, 2019 @11:42AM (#19255817)
> You're implying the creator of the website is okay letting you receive the service or content on your terms.

Fine, but this cuts both ways. They're wrongly assuming I'm okay accepting arbitrary content on their terms.

The no-blocker system holds that by navigating to a URL, I accept whatever the domain owner cares to serve me. We had one attempt to embed user conditions in the request, that was Do Not Track, and the most common outcome was that sites neither honored it nor put up walls against users; they simply disregarded it and kept tracking. In fact, they started to fingerprint users based on their request to not be tracked.

If, prior to using a site, I want to see what it asks me to give up in terms of privacy and security, I don't know an alternative to visiting the site with blocking in place. The creator can put up a wall and tell me to turn it off, in which case I'll make a site-specific decision to leave or disable blockers just like I do for cookies. This isn't hypothetical, I do it regularly.

If I bypass a wall or ignore clear notice that I don't have permission to browse with blockers, then sure, we're both lying to each other about our usage conditions and it's just an arms race. But I reject the idea that an initial visit to a site constitutes consent to accept some unknown pile of privacy intrusions and security risks; the moral burden there really is on the site owner who's circumventing a clear refusal to accept those things.

Re:Show HN: Bypassing ad blockers for Google Analytics by stunt on Tuesday February 26, 2019 @12:14PM (#19256218)
> If we're going to use ad blockers, at least let's admit to what we're doing and not claim a moral high ground

Well companies should aks themselves what they did to users in first place that everyone hates these ads so much now! How they pushed too far!

They have to look into the root cause of it.

But instead, most of them are making it even more annoying.

Nevertheless, the content quality is dropping as well. everyone is making unnecessary long content and a lot of click-baits.

What do you expect? It is called consequences and humans are really bad to understand it.

Re:Show HN: Bypassing ad blockers for Google Analytics by everdrive on Tuesday February 26, 2019 @03:11PM (#19257915)
Paying for a good book is looking like quite a fine alternative!
Re:Show HN: Bypassing ad blockers for Google Analytics by mj_olnir on Tuesday February 26, 2019 @07:54AM (#19253833)
Paying money. That's an easy choice.
Re:Show HN: Bypassing ad blockers for Google Analytics by gumby on Tuesday February 26, 2019 @11:30AM (#19255675)
Do you consider it a moral failing to go pee while an ad plays on the TV? To change stations in the car when an ad comes on? To turn to talk with your friends at the table when the game pauses and an ad comes on?

An ad blocker is no different except being automated. And the analytic spying it fights is automated too.

Re:Show HN: Bypassing ad blockers for Google Analytics by ionised on Wednesday February 27, 2019 @06:31AM (#19262549)
I like how you frame the argument as if advertising has the moral high ground.

> If we're going to use ad blockers, at least let's admit to what we're doing and not claim a moral high ground.

If we are going to use psychological warfare to part people from the fruits of their labour in exchange for cheap crap they don't need by exploiting human weaknesses and insecurities, just so we can keep an unsustainable and highly damaging model of growth going; and also serve malicious software to those people, then let's not pretend we have any moral standing at all.

Adblocking is has a hell of a lot more moral substance to it than advertsing does.

Re:Show HN: Bypassing ad blockers for Google Analytics by everdrive on Tuesday February 26, 2019 @01:51PM (#19257161)
The advertiser / webpage owner is free to prevent me from loading his webpage, and I will happily accept the rebuke.

They are not allowed to simply track me and serve me ads regardless, though. I pay for an email provider specifically to avoid this, and I pay for magazines and books as well.

Re:Show HN: Bypassing ad blockers for Google Analytics by tomjen3 on Tuesday February 26, 2019 @11:00AM (#19255313)
Without arguing with the last one, I imagine that for a great deal of content I won't consume it at all; a very small portion of things on the internet is worth paying for.

And also it will probably be ads+tracking+various levels of paying money.

Re:Show HN: Bypassing ad blockers for Google Analytics by Nextgrid on Tuesday February 26, 2019 @08:45AM (#19254202)
> You're implying the creator of the website is okay letting you receive the service or content on your terms

The creator is sending the content to my machine for free. Whether my machine displays the ads (aka cancer) attached to that content is my decision.

Also regarding paying money, don't forget in pretty much any case you still end up tracked. If anything, you get tracked less by the ad-supported version because at least you're not giving them any billing information and are not consistently logging into the same account (which you'd have to do for your subscriber benefits to kick in).

> One day when our tech will limit you to a binary choice of ads+tracking versus paying money, which way are you going to swing once your hand is forced?

I'd love such a choice as it will allow me to say no to cancer & stalking once and for all. However it will have to be implemented in such a way that it's technically impossible for anyone to track me through the subscription system.

Re:Show HN: Bypassing ad blockers for Google Analytics by heliodor on Tuesday February 26, 2019 @09:24AM (#19254491)
The creator is sending you a particular bundle that they decided is worth their time and money as a singular unit. You decide to dissect that bundle and throw parts of it away. All of this is done based on capabilities on each side, not based on morals. Neither side of the debate is right in claiming morality.

PS: Data transmission is not free. Servers cost money and bandwidth costs money too. CDN costs money. Anti-DDOS costs money. etc.

Re:Show HN: Bypassing ad blockers for Google Analytics by cglace on Tuesday February 26, 2019 @10:15AM (#19254893)
So essentially you only pay for things through cash.
Re:Show HN: Bypassing ad blockers for Google Analytics by betterunix2 on Tuesday February 26, 2019 @07:57AM (#19253853)
We have the right to run whatever software we want on our computers -- whether we are on the browser side or the server side. To the extent that users have the right to run ad blockers websites have the right to try to evade them.
Re:Show HN: Bypassing ad blockers for Google Analytics by tyingq on Tuesday February 26, 2019 @08:09AM (#19253926)
Combine this sort of thing with Google's "chrome manifest v3" proposal, and ad blockers are mostly dead.
Re:Show HN: Bypassing ad blockers for Google Analytics by krageon on Tuesday February 26, 2019 @08:31AM (#19254101)
It just needs to be escalated to local MITM VPN-based (so it works on phones too) filtering.
Re:Show HN: Bypassing ad blockers for Google Analytics by StefanoC on Tuesday February 26, 2019 @09:04AM (#19254338)
I have this on my phone and it doesn't stop this technique.
Re:Show HN: Bypassing ad blockers for Google Analytics by krageon on Thursday February 28, 2019 @03:24AM (#19269885)
Of course it does, but not if your filter lists aren't adequate.
Re:Show HN: Bypassing ad blockers for Google Analytics by MiddleEndian on Tuesday February 26, 2019 @05:03PM (#19258730)
Not on Firefox!
Re:Show HN: Bypassing ad blockers for Google Analytics by StefanoC on Tuesday February 26, 2019 @07:39AM (#19253749)
As described, rather than disabling js you may want to look into something more complicated, because if you do then the <noscript> side is going to kick in.

I think the noscript solution offers less data collection but can still be reverse proxied (try for yourself on the page).

Re:Show HN: Bypassing ad blockers for Google Analytics by kowdermeister on Tuesday February 26, 2019 @07:49AM (#19253800)
What if I track you server side?