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

Fixes #1321 Prevent js errors if tracker blocked (2.6.x) #1336

Conversation

rbayet
Copy link
Collaborator

@rbayet rbayet commented Feb 27, 2019

by browser plugin (ex: ublock origin)

by browser plugin (ex: ublock origin)
@southerncomputer
Copy link
Contributor

You might want to rename tracking.js - i did to fracking.js to avoid the ublock in the first place!

@rbayet
Copy link
Collaborator Author

rbayet commented Feb 27, 2019

Hi @southerncomputer,

Yes, I figured out guessed it was the name of the JS file that was the source of the problem, but I'll let @romainruaud decide.

Regards,

@rbayet rbayet requested a review from romainruaud February 27, 2019 16:05
@rbayet rbayet changed the title Fixes #1321 Prevent js errors if tracker blocked Fixes #1321 Prevent js errors if tracker blocked (2.6.x) Feb 27, 2019
@romainruaud
Copy link
Collaborator

Yes, we'll probably have to rename the tracker file.

But actually the try/catch is a proper workaround, and it should be here in any cases (we cannot break all pages due to tracking, whatever causes it to crash).

@romainruaud romainruaud merged commit 6924b65 into Smile-SA:2.6.x Mar 1, 2019
@romainruaud
Copy link
Collaborator

Fix #1321

@rbayet rbayet deleted the fix-1321-avoid-tracker-js-error-if-blocked-2.6.x branch March 1, 2019 08:49
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

Successfully merging this pull request may close these issues.

3 participants