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

Safari 11.1 (13605.1.33.1.2) + default script blocks documentReady #12749

Closed
wokenlex opened this issue Apr 19, 2018 · 3 comments
Closed

Safari 11.1 (13605.1.33.1.2) + default script blocks documentReady #12749

wokenlex opened this issue Apr 19, 2018 · 3 comments
Labels
worksforme The issue cannot be reproduced and things work as intended.

Comments

@wokenlex
Copy link

Subj.

Script is default and at the page botoom, after website UI scripts, but until its load failed all documentReady functions waits for it.

<script> var _paq = _paq || []; _paq.push(['trackPageView']); _paq.push(['enableLinkTracking']); (function() { var u="//stats.domain/piwik/"; _paq.push(['setTrackerUrl', u+'piwik.php']); _paq.push(['setSiteId', '1']); var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s); })(); </script>
@sgiehl
Copy link
Member

sgiehl commented Apr 20, 2018

Not sure if I got your report right. The async script loading of piwik.js blocks your documentReady event on safari? Is that reproducible for you on any other browser?

@wokenlex
Copy link
Author

I tried Chrome and Firefox, last and updated, they are ok, it was only Safari. The matomo server was dead (something was happend on digitalocean), and i saw this problem. I will try to make this issue more informat in free time, because to reproduce it need the server that will not response and will keep connection.

@Findus23
Copy link
Member

In case someone can reproduce this issue in the latest Matomo version, please create a new issue with more details about what doesn't work as expected.

@Findus23 Findus23 added the worksforme The issue cannot be reproduced and things work as intended. label May 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
worksforme The issue cannot be reproduced and things work as intended.
Projects
None yet
Development

No branches or pull requests

3 participants