Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

https://js.pusher.com/8.0.1/pusher.min.js blocked by AdBlock (net::ERR_BLOCKED_BY_CLIENT) #753

Closed
dtinth opened this issue Aug 14, 2023 · 4 comments

Comments

@dtinth
Copy link

dtinth commented Aug 14, 2023

Do you want to request a feature or report a bug?
Bug

What is the current behavior?
AdBlock extension seems to be blocking Pusher. This is affecting our users.

<script src="https://js.pusher.com/8.0.1/pusher.min.js"></script>

If the current behavior is a bug, please provide the steps to reproduce and
if possible a minimal demo of the problem via https://jsfiddle.net or similar.

  1. Install AdBlock
  2. Enable these filters
    image
  3. Go to a website with Pusher

What is the expected behavior?
Pusher.js should load correctly.

Which versions of Pusher, and which browsers / OS are affected by this issue?
Did this work in previous versions of Pusher? If so, which?

Version 3.1 is also affected.

@benw-pusher
Copy link
Contributor

I'm not able to reproduce this with adblock. Can you try disabling individual lists and let me know which one appears to be the culprit? I can then investigate the list source directly.

@dtinth
Copy link
Author

dtinth commented Aug 15, 2023

@benw-pusher Thanks for the suggestion. I tried as suggested and it turns out it’s not the filter lists that blocked the Pusher SDK.

Turns out, it’s the Distraction Control feature available to AdBlock Premium (which costs $2/mo). I think this feature recently rolled out. I did not remember enabling it, so I guess it may be enabled by default for paying customers.

image

Since it is a paid feature, I also opened a support ticket to AdBlock side and will update when I hear back.

@benw-pusher
Copy link
Contributor

Thanks @dtinth . I suspect this is not something that AdBlock will change, as that would be circumventing the purpose of distraction control.
One workaround for this could be to self serve the files, hosting them on your domain instead of a Pusher domain and potentially preventing the block - however I can't guarantee this is a solution as I'm not certain how the distraction control works.

@dtinth
Copy link
Author

dtinth commented Aug 17, 2023

Yes, you are right, received this response from AdBlock:

Thank you for your patience.

After consideration, the Distraction Control team has opted to continue blocking Pusher as it uses push notifications.

We may have to self host it then. Thanks for the suggestion 🙏

@dtinth dtinth closed this as completed Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants