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

Service Unavailable from AdBlock Plus #270

Closed
IamBramer opened this issue Apr 29, 2018 · 5 comments
Closed

Service Unavailable from AdBlock Plus #270

IamBramer opened this issue Apr 29, 2018 · 5 comments

Comments

@IamBramer
Copy link

So I know this is probably more on AdBlock Plus than it is Barba.js but lately whenever I try to navigate to any other page after the initial load my browser returns a Service Unavailable page if AdBlock Plus is enabled. Just wanted to point this out as I'm sure many users have that plugin/addon installed for Chrome or Firefox, so anyone with that enabled won't be able to navigate around the website.

https://iambramer.com/

@IamBramer
Copy link
Author

These are the errors Chrome will give (on Chrome the pages will still load but it will be a hard load and not an ajax load). If I disable AdBlock Plus everything will work as expected.

barba.min.js:2 GET https://iambramer.com/projects/ 0 ()
xhr @ VM229 barba.min.js:2
load @ VM229 barba.min.js:2
onStateChange @ VM229 barba.min.js:2
goTo @ VM229 barba.min.js:2
onLinkClick @ VM229 barba.min.js:2
(index):1 Uncaught (in promise) undefined
Promise.then (async)
init @ VM229 barba.min.js:2
onStateChange @ VM229 barba.min.js:2
goTo @ VM229 barba.min.js:2
onLinkClick @ VM229 barba.min.js:2
(index):1 Uncaught (in promise) undefined
Promise.then (async)
onStateChange @ VM229 barba.min.js:2
goTo @ VM229 barba.min.js:2
onLinkClick @ VM229 barba.min.js:2

@S1SYPHOS
Copy link

S1SYPHOS commented May 5, 2018

It’s common for people with adblockers (myself included) that JavaScript powered websites stop working as expected. With uBlock Origin however, I never had such a problem with barbaJS 😕

@IamBramer
Copy link
Author

Yeah, I know AdBlockers can really screw with things. I've been working with easylist to try and resolve what's going on as I don't think it is the fault of barbaJS. I think it might have something to do with the combination of the way barbaJS is working with my service worker that it is getting blocked.

Everything works amazing as soon as the add-on is removed. (Love barbaJS btw, my favorite JS library I have ever used.)

@luruke
Copy link
Member

luruke commented Oct 15, 2018

Thanks for the report @IamBramer , are you sure the problem is due adblockers? never had such problem myself...

@luruke luruke closed this as completed Oct 15, 2018
@luruke luruke reopened this Oct 15, 2018
@thierrymichel
Copy link
Member

Please, feel free to reopen if you need more informations.

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

4 participants