49 points · by Amorymeltzer · 3y ago · 40 comments
https://codepen.io/cpe/puppies-and-kittens?id=<id>
It looked so innocuous it took me a sec to notice. You can definitely tell it's named in a way to avoid blocking rules. I appreciate the little humor too.Codepen plays nice and just uses this for logging purposes. But when other sites take more aggressive anti-ad-block measures your ad-blocker can still defeat them by silently redirecting some analytics/ad-serving JavaScipt to an internal no-op resource. That way the error handler isn't called but the JS doesn't actually run. Or the JS is replaced with a no-op equivalent. See uBlock's resource library here: https://github.com/gorhill/uBlock/wiki/Resources-Library
(I imagine a site like codepen, with its technical audience, sees a lot more users with ad blockers.)
If you're a business and you want to serve ads do it with plain text and images. If you need to track me do it with your server logs. You don't deserve anything else.
Lots of ads are text and images, but they're all placed client-side using scripts, because* nobody buys ads entirely untargeted (they're ineffective). If you're a business and want a purely server-side ad system to monetize your site with, you're going to be looking for a long time. What you're saying basically amounts to "ad-supported business models online should not exist." Which is an opinion you're entitled to, but if this is your stance I'd encourage you to at least try to, for a week, block all ad-supported sites, rather than the ads, to see what the logical conclusion to your policy would be.
*Note: Even without that reason, server-side would be unpopular with both publishers and ad networks because of the need to offer dozens of flavors of server-side SDKs that the publisher would have to integrate deeply into their SS code, rather than using the lingua franca of client-side JS.
I liked this argument from idlewords:
https://idlewords.com/talks/what_happens_next_will_amaze_you...
"""Advertisers end up right back where they started,still not knowing which half of their advertising budget is being wasted. Except in the process they've destroyed our privacy."""
Somebody going out of their way to name a file erroneously with the intent bypassing a security and privacy control I’ve gone out of my way to deploy is not what I’d call humour, it’s disgusting.
I understand you might not even want to signal this to them. That's why I shared the endpoint it's hitting. I want people that really don't want even this type of logging to be able to easily add a block rule. I admit in retrospect a less hidden and more obviously named endpoint would have been more polite. Personally, I really think it's a stretch to call it 'disgusting'.
I think you have the right to track the usage of your product. And if you are ad-supported and not a sole proprietorship, you have an obligation to your business to at least know whether your monetization strategy is failing due to your users' ad-blocking preferences. The "% who block ads" figure is vitally important in deciding, for instance, whether to offer an ad-free paid tier.
If someone is using ad blocking, especially with custom rules, they are saying, loud and clear, they DON'T WANT most JavaScript running.
web developers should just respect that and move on, not try everything the browser allows in order to ram it down their throats. Theres really no excuse for it. with browsers essentially acting as operating systems these days, you're basically trying to justify malware.
IMO if users block ads then I imagine the websites are well within their rights to deny service or ask for other forms of payment.
Admittedly, the site could probably use CSS to make this decision as well, but I figured I'd mention it.
there are other reasons the script may not be loaded and categorizing them as 'blocked' is not an accurate label. first example would be to curl the main page; and that is certainly NOT blocking the script