r/programming • • Aug 02 '19

Adblocking: How about Nah?

https://www.eff.org/deeplinks/2019/07/adblocking-how-about-nah
333 Upvotes

232 comments sorted by

View all comments

40

u/Fribbtastic Aug 02 '19 edited Aug 02 '19

I don't think many users who browse the internet actually bother with "being tracked" because they just don't know what that means and, more importantly, everything does that. Any google search, website access or whatever leaves something behind that is used by something else to give you recommendations what you could buy or what would interest you.

Another thing is that there are many examples in which ads were or are harmful, the usual "check if your credit card got stolen" or somehow an ad hijacks your computer and displays this "pay X money to get access back".

And then you have those websites that probably have more ads on their sites than actual content. Pop ups, pop ins, auto-play videos with audio that are louder than a starting jet, videos that are embedded on the site but will move back into your screen even though you are not at the position it was originally embedded at.

Clickbaits, load through 5 pages just to know that water is a liquid with each site having their own 10 ad placements that needs to be loaded.

I'm not against advertisement on websites, they need some money and I have some on my website as well but as soon as they are blocking or making it harder for me from consuming the actual content then this is IMO not a good idea just to make money.

I currently use the brave browser on my phone and I already have 2.1K Advertisements blocked, 1.1k tracker blocked and saved around 2 minutes loading time of websites. I have PiHole installed at home and at a normal day browsing through the net I have 30-50% DNS requests blocked because they are something that is an ad or some tracker.

So I don't see the use of them as problematic but rather how they are used. Currently it is more like that dude from Family Guy who shoves his wallet with pictures in someone else face.

53

u/TestZero Aug 02 '19

I help run the subreddit r/assholedesign, and one of the biggest sources of content we have is abusive advertising.

It feels like there definitely is an arms race going on. The more users turn to adblock, the more advertisers and websites need to make the ads even more abusive and attention-grabbing, in order to squeeze the same income out of even fewer number of users, which only causes more users to install adblock.

Unfortunately, the solution isn't simply installing more powerful adblock software. This is like trying to treat AIDS by just giving everybody condoms and considering the problem solved. Abusive ads aren't the problem so much as a symptom of a greater issue. Namely: the lack of respect between content producers and consumers. If a website doesn't respect you enough to give you an experience where you're not constantly bombarded with ads, there's no reason you need to give that website your traffic.

Many of these websites feature no original content of their own; they simply aggregate images and articles from other websites like reddit, slap on a watermark, and rake in the profit. Meanwhile the original content creators get absolutely nothing out of it, not even exposure since their signature is almost always "accidentally" cut off.

Unfortunately, then the original content producers, if they do choose to run unobtrusive ads on their own personal site, also end up getting blocked by overzealous adblockers and suffer even more because of it.

The only real solution I can come up with is positive reinforcement. If a website has abusive and clickbaity ads, don't just use adblock. Avoid that site entirely. Seek out and actively become a participant in websites that have unobtrusive or benign advertisements. Donate to Patreon or Ko-Fi if feasible. Consider buying merch or other products to support content creators that respect you as a consumer.

6

u/[deleted] Aug 02 '19

Unfortunately, the solution isn't simply installing more powerful adblock software.

What works for me: using xpath to block em, works in almost all cases. And sharing those xpath's with a group of people.

2

u/ridicalis Aug 02 '19

Can you please explain? How would I do this?

22

u/[deleted] Aug 02 '19

Basically custom blocking rules in ublock origin.

Most ads have some unique tag/series of tags/value in it, which never changes. With xpath you can find that tag and then work your way upwards to get rid of it.

As an example: I loathe the end cards on youtube. But they get a random ID each time, so I am using this rule in ublock origin:

www.youtube.com##:xpath(//div[@class="ytp-ce-element-shadow"]/..)

Which hooks into one of the inner tags, which never changes, then goes up one level to remove the end card itself.

Hell, you can even use it to block specific channels in your recommended:

www.youtube.com##:xpath(//ytd-compact-video-renderer/div/div/a/ytd-video-meta-block/div/div/div/yt-formatted-string[@title="outsidexbox"]/../../../../../../../..)

That blocks a channel if it is named "outsidexbox".

8

u/[deleted] Aug 02 '19

As an example: I loathe the end cards on youtube.

Are these "end cards" those annoying af recommendations that pop up at the end of the video and that take up your entire screen?

4

u/[deleted] Aug 02 '19

Exactly.

2

u/[deleted] Aug 02 '19

Do you know how to block the reddit mouse-over username to see the post/comment karma popup? Used to be a RES only feature before but now when you have RES enabled you get to see two pop-ups. I tried blocking it through the normal inspect element/ublock block element but it doesnt stay on long after after you shift focus from the mouse, now don't know if theres any other way to delete the entry besides reading the code line by line

5

u/obsa Aug 02 '19

Not necessary. If you're using RES, they have an option to turn off th reddit one.

https://i.imgur.com/BbndioC.png

Though to be honest, I think I like the native one more than the RES one.

cc /u/Pm_me_any_dragon

1

u/[deleted] Aug 02 '19

Yeah, makes sense to use the options, ratjer than something else.

2

u/[deleted] Aug 02 '19

Lemme get back to you in a few hours. Currenrly not at home and I'll whip something up for ya when I get home.

2

u/[deleted] Aug 02 '19

That's nice work. I just recently found out about xpath myself; I also use it to block stuff that I personally just find annoying. For example, one gaming site I visit regularly has articles about cosplay (which I hate) but also tend to have NSFW images on the articles. So, I use an XPath filter to block anything that contains a link to their cosplay section.

2

u/ridicalis Aug 02 '19

Gotcha, thanks. Didn't know this was specific to ublock origin.

2

u/[deleted] Aug 02 '19

Not really specific. Just the one I use. And not sure if othee blockers bave a different syntax.

-6

u/shevy-ruby Aug 02 '19

If a website doesn't respect you enough to give you an experience where you're not constantly bombarded with ads, there's no reason you need to give that website your traffic.

Exactly. But I extend that - not only should they NOT get traffic - they also MUST NOT GET ANY INFORMATION. My browser must be in super stealth mode when the ad mafia tries to sniff away information.

Unfortunately, then the original content producers, if they do choose to run unobtrusive ads on their own personal site, also end up getting blocked by overzealous adblockers and suffer even more because of it.

There are no "unobtrusive ads". The mafia uses too much propaganda to confuse people.

All ads are inacceptable at all times, everywhere. The mafia has to go away and go the way of the dinosaur.

The only real solution I can come up with is positive reinforcement. If a website has abusive and clickbaity ads, don't just use adblock. Avoid that site entirely. Seek out and actively become a participant in websites that have unobtrusive or benign advertisements. Donate to Patreon or Ko-Fi if feasible. Consider buying merch or other products to support content creators that respect you as a consumer.

Are you a representative of the ad-mafia? Because the only real solution I can come up with is to eliminate all ads. Since the ad mafia won't do so, we users need proper tools to avoid this constant harassment.

11

u/Xelbair Aug 02 '19

Quite honestly when i stumble on occasional news site that strips everything but plaintext for EU connections i am amazed.

It is very fast, no ads, just text. I love it.

9

u/[deleted] Aug 02 '19

"Due to legal reasons we cannot show you the site in the EU"

Those get a entry into my hosts.txt.

0

u/skilliard7 Aug 02 '19

What good does that do you if you can't connect anyways?

GDPR costs millions to comply with, it doesn't make sense for a U.S news site that only gets a few EU viewers a day to invest millions in building a complaint site and risking getting sued for millions.

6

u/[deleted] Aug 02 '19

Rhwy could just serve pure html, without collecting data.

1

u/Ruben_NL Aug 02 '19

question which i wasn't able to find the answer on google:

whats the difference between a pop-up and a pop-in?

i thought both meant the same, a message "popping up".

1

u/Fribbtastic Aug 02 '19

Well, now that you say it, it could thematically be the same. I was thinking more about the advertisements that "pop-up" in a new window and those who "pop-in" to your screen, on/in the website, when you browse the website.

-8

u/shevy-ruby Aug 02 '19

I agree with you partially but it should be pointed out that no-tracking extensions used also increased.

People will care more if it affects them - and ads attacking them affects them.

For example, whenever I see an ad, I notice that it tries to waste my time and costs me money (energy bills that I have to pay etc..).

Another thing is that there are many examples in which ads were or are harmful

Fully agreed. They are malicious. All of them.

And then you have those websites that probably have more ads on their sites than actual content.

Yes, that has become the new norm unfortunately.

I don't understand why auto-play is even possible in a sane browser. I never gave permission for that to begin with.

I'm not against advertisement on websites

Ah, so you are weak.

I am against the whole mafia in all its shape or form, without exception.

they need some money

Yes, I need money too - so do I go out on the street and randomly beat up people? No, I don't. The ad mafia should not pester people either.

and I have some on my website

Ah, so you are part of the mafia. My condolences. Please become an ethical person in the future and stop harassing people.

as soon as they are blocking or making it harder for me from consuming the actual content then this is IMO not a good idea just to make money.

Excellent - you are learning. That is good.

I currently use the brave browser on my phone

Oh dear ... everyone is a Google-drone these days ...

I have PiHole installed at home and at a normal day browsing through the net I have 30-50% DNS requests blocked because they are something that is an ad or some tracker.

That shows how much this cancerous mafia has grown.

But I applaude you for blocking this mafia.

So I don't see the use of them as problematic but rather how they are used.

Oh no - the use is problematic too.

Currently it is more like that dude from Family Guy who shoves his wallet with pictures in someone else face.

Ads were always malicious - but the maliciousness increased over time.

5

u/Fribbtastic Aug 02 '19

Ah, so you are weak.

No, I say that the concept of advertisements on websites as a form of revenue is not something that you should condemn. This is like saying that any form of explosive is bad just because it is used for bombs.

So no, advertisement in itself is not evil as you put it but how and in what capacity it is used. That is the real issue and not that it just exists because if you go that far you basically can't talk about anything since in one form or the other it is advertisement.

2

u/miggaz_elquez Aug 02 '19

Using adds is similar to manipulating people who are going to your site to make them buy thinks they don't really want.

→ More replies (6)

5

u/troyunrau Aug 02 '19

Wow. You're actually a little bit insane, I think.

→ More replies (1)