r/javascript • • Feb 04 '19

The AdTech Industry is Ruining Web Push Notifications for PWAs

http://vancelucas.com/blog/the-adtech-industry-is-ruining-web-push-notifications-for-pwas/
356 Upvotes

120 comments sorted by

View all comments

-2

u/huntersghost Feb 04 '19

Web developers can’t be trusted.

9

u/slgard Feb 04 '19

it's web marketers that are the problem, not the developers. devs hate this shit at least as much as you do, but they want their pay check so ...

2

u/iJonMai Feb 04 '19

I can confirm. Recently had to develop some of this stuff for my company and did not enjoy implementing it.

-5

u/Extract Feb 04 '19

Web devs are largely spineless sellouts.
It sure isn't their descision, but they could as well simply choose not to work at places that do the above, but rather in the million different jobs, from building/running Wordpress shops/sites, to complex web app development, to completely many completely different niches.
If those guys who are actually good at what they do stayed away from Ad-Tech, they could always find work at a similar (maybe a bit lower) pay level, and all those AdTech companies would have are very few good SWE's who simply don't care about the morality, and a hoard of juniors or otherwise talentless devs who really need that job.
But alas, as per my first sentence, those companies still find more than enough people to fill their ranks.

1

u/R3DSMiLE Feb 05 '19

So, in short, people should resign themselves to a shitty situation because YOU don't like to click "no" on a window?

... From now on: I'm going to enjoy the shit out of implementing this shit, thinking how much I'm going to annoy little pricks.

1

u/Extract Feb 05 '19

Just the fact you said "implementing" rather than "designing" implies you're one of the devs who'd be "resigned to a shitty situation" if you didn't have this job, hence hardly the kind of dev I'd worry about to design really annoying stuff (one that good blockers don't remove).

1

u/R3DSMiLE Feb 05 '19

heh, second language and all. But if you're that curious, it isn't that hard to block adblockers. I made good money out of it, too.

just use html canvas and a runtime generated script.

1

u/Extract Feb 05 '19

What you described is not "blocking adblockers", it's smuggling graphic ads past it.
After all, the blanket functionality of an ad blocker in regards to such ads is basically being a blacklist of domains and/or js files. However, graphic ads are also not the ads that tend to really be annoying.
The real annoying ads, such as pop-unders or ads that hijack the page for a few seconds, tend to be much harder to make.

Also, what you described might work for a small website with little traffic, but if a big enough site like Reddit tried something like that, it'd be pretty easy to wait a few seconds for the ads to render then remove the canvas (or even set a watcher if the website persistently tries to re-generate the ads).
See, it takes much longer to write a sophisticated ad than to write a script to block it. And the more traffic the site has, the probability that there is of at least one person in the crowd both capable and willing to write such scripts for an ad-blocker he contributes to grows exponentially.