-
Notifications
You must be signed in to change notification settings - Fork 340
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
JS errors and non working search with enabled ublock origin #1321
Comments
Hello @Wohlie, Can you provide the version of Magento2 and ElasticSuite you are using (I know it might not relevant, but still) and on which Chrome version/platform you are using ? On M2 2.3.0, I can reproduce the first issue with ublock origin installed in Chromium 65 on Ubuntu but the autocomplete search is not blocked. Regards, |
by browser plugin (ex: ublock origin)
by browser plugin (ex: ublock origin)
by browser plugin (ex: ublock origin)
…if-blocked-2.6.x Fixes #1321 Prevent js errors if tracker blocked (2.6.x)
…if-blocked Fixes #1321 Prevent js errors if tracker blocked (2.7.x)
Fixed by associated PR, will be part of next minor releases 2.6.7 & 2.7.5 |
Hi,
i use chrome with enabled ublock origin as adblocker with this configuration:
In this case is get js errors, because the js file
...Smile_ElasticsuiteTracker/js/tracking.js
is blocked:The bigger problem is, also the search function is not working in case of the js errors.
Fix:
Add a try catch to all
smileTracker
calls.The text was updated successfully, but these errors were encountered: