Adblockers as the reason for InvalidAccessError
1–10 of 47 posts
Re: Adblockers as the reason for InvalidAccessError
#2Re: Adblockers as the reason for InvalidAccessError
#3[1] See https://github.com/chrisaljoudi/uBlock/tree/master/platform/..., the code is in `vapi-client.js`, line 247.
Re: Adblockers as the reason for InvalidAccessError
#4You really have to start from the bottom up assuming that things are going to get blocked for some people and build in graceful degradation of performance:
https://www.exratione.com/2014/12/practice-defensive-javascr...
Though the problem in this article looks more in the way of something to be caught by a sufficiently well constructed QA process, followed by a bug filed with the ad blocker in question.
Re: Adblockers as the reason for InvalidAccessError
#5It sounds like the ad blocker misused a regular expression and matched the string "twitter" in the wrong context. Some ad blockers just use files of regular expressions somewhat blindly. If you're looking at URLs, parse them.
Re: Adblockers as the reason for InvalidAccessError
#6Re: Adblockers as the reason for InvalidAccessError
#7Re: Adblockers as the reason for InvalidAccessError
#8Re: Adblockers as the reason for InvalidAccessError
#9This 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.
Re: Adblockers as the reason for InvalidAccessError
#10Ive been burned on this enough times where I know that any weird error that doesn't have an explanation, automatically turn off adblock. 9 times out of 10... works