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

Blocking script. #32

Open
Mecalux-Developer opened this issue Feb 9, 2021 · 1 comment
Open

Blocking script. #32

Mecalux-Developer opened this issue Feb 9, 2021 · 1 comment

Comments

@Mecalux-Developer
Copy link

We have detected a blocking script on livechat module.

Basically on view/frontend/templates/snippetblock.phtml

You have the following code:

<script src = "<?php echo $block->getUrl('livechat/getvisitor'); ?>"></script>
<script>
  window.__lc = window.__lc || {};
  /// rest of the code
</script>

Now, the first script is blocking. You may consider moving all that into an ajax call and load the livechat (second script) once that ajax is complete.

@KZNcode
Copy link

KZNcode commented Jun 14, 2021

Same... The visible blocking is of our image lazyloading, haven't bothered checking other blocking beyhond that..

Side note: Previous Magento 2 versions completely broke our site...

Considering the above, plus there hasn't been a reply to this issue in 4 months, I wouldn't suggest using anything from this company.

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