Live data from Hacker News

Adblockers as the reason for InvalidAccessError

wwwtech.de

31–40 of 47 posts

Re: Adblockers as the reason for InvalidAccessError

#31

I once had a ceo ask why the header image on a prominent section of our website was not showing on his machine. I opened the page, and to my surprise,, the header image didn't show on my computer either, but it showed on my coworkers screen. In my standard "eliminate all simple causes" method I switched to incognito, and the header image loaded. Somehow, I was able to recognize that it was due to an extension that wa…

We had a similar issue with our Hackerspace website - we have a section on the site that shows logos partners and sponsors, and at some point it disappeared. We found out that some class name in a div containing those images matched to some Adblock blacklist. We changed the CSS names to something silly and now everything is back to normal :).

Re: Adblockers as the reason for InvalidAccessError

#32
post #12

I've experienced this, and it's a major pain the ass if we are talking about not just testing but making it work for AdBlocker users. In our case once we had to resort to rewording the method name in our REST AJAX API endpoint so it wouldn't contain the word "counter" for it not to randomly fail for adblocker users. Why would an adblocker be so incredibly aggresive as to block random words from urls is beyond me.

> Why would an adblocker be so incredibly aggresive as to block random words from urls is beyond me.

Because advertisers are so aggressive about shoving shit in our direction. It's an arms race, and unfortunately we sometimes suffer from collateral damage.

Re: Adblockers as the reason for InvalidAccessError

#33
I've also hit this in the past. However I feel like I remember seeing that the error messaging had been enhaced in whichever version of Chrome came out next. I've forgotten the details now, but I feel like it explicitly said that an extension had blocked the request.

Re: Adblockers as the reason for InvalidAccessError

#34

I've also hit this in the past. However I feel like I remember seeing that the error messaging had been enhaced in whichever version of Chrome came out next. I've forgotten the details now, but I feel like it explicitly said that an extension had blocked the request.

You are right. I just tested it, Chrome states `Failed to load resource: net::ERR_BLOCKED_BY_CLIENT`. I updated the article, thanks for the hint!

Re: Adblockers as the reason for InvalidAccessError

#36
post #3

This is not mentioned in the article, so just to be more specific, the override of `XMLHttpRequest.open()` applies only for the Safari-specific code of the extension.[1] [1] See https://github.com/chrisaljoudi/uBlock/tree/master/platform/... , the code is in `vapi-client.js`, line 247.

Thanks for the pointer. You are right, but blocked gets the request in all three browsers nonetheless.

Re: Adblockers as the reason for InvalidAccessError

#37

Earlier quoted context omitted.

I thought it was standard to open up an incognito window with everything disabled when debugging.

I thought it was standard to assume everything I do is standard.

Yeah, that's non-standard behaviour.

Re: Adblockers as the reason for InvalidAccessError

#38

Are you sure it blocked the url because the string "twitter", not "sponsored"?

Perfectly possible, I am not sure.

I've had parts of a website blocked over a word "sponsor" in a CSS class, so I'm willing to bet it's not "Twitter" that's the cause.

Re: Adblockers as the reason for InvalidAccessError

#39
post #27

Earlier quoted context omitted.

Do you really? See, I don't agree with this - it's like saying as a site-owner, you need to cater to people who disable JavaScript, or who use Ghostery. Sure, you can cater to them if you like (or if you think they're a sizeable portion of your audience). But if I was using one of those two, I certainly wouldn't go whine to a site owner and say "Your site doesn't work for me!". It's my choice to use those products. L…

The only time I think it makes fiscal sense to ignore a sizable portion of your potential user-base is when you're already making so much money that the potential income from those users would be negligible. It seems that the average number of page-views for all sites that are ad-blocked is something like 9% (and on some sites up to 50%)[1]. would you really want to sacrifice a 9-50% of possible revenue? [1] https://…

Or when the potential income from those users is less than expected expense coming from not ignoring them.

Re: Adblockers as the reason for InvalidAccessError

#40

Earlier quoted context omitted.

Do you really? See, I don't agree with this - it's like saying as a site-owner, you need to cater to people who disable JavaScript, or who use Ghostery. Sure, you can cater to them if you like (or if you think they're a sizeable portion of your audience). But if I was using one of those two, I certainly wouldn't go whine to a site owner and say "Your site doesn't work for me!". It's my choice to use those products. L…

The problem is that the end user who has an ad blocker installed doesn't see a big "THIS FEATURE OF THE WEB SITE IS BROKEN BECAUSE YOU HAVE AN AD BLOCKER INSTALLED" message when things don't work. They just see things not work. Maybe a few of the more tech-savvy users will guess that their ad blocker caused the problem, but most users will just assume that your site is crappy. If your site is monetized through someth…

Can you intercept errors and display this banner if error is thrown and adblock is in use?
Post reply on HN