jquery-1.10.2.min.js warning on chrome

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
8 năm cách đây
I am receiving following warning for jquery-1.10.2.min.js:23 in my website on chrome console. Any ideas what may trigger it?

Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.
8 năm cách đây
See the top SO answer here:
http://stackoverflow.com/questions/24639335/javascript-console-log-causes-error-synchronous-xmlhttprequest-on-the-main-thr

Is it possible you're AJAXing in some content that contains a <script /> tag in it? In his case, JQuery seems to assumes you need the .JS file referenced and loads it on the main thread before continuing instead of asynchronously in a separate thread, which can lead to a poor user experience.
8 năm cách đây
I guess it happened after I added tawk to chat script on my script. Ty.
8 năm cách đây
No, actually it happens only on my product page. I will check which plugin is causing it.
8 năm cách đây
I found it! Nop-Ajax Filters cause that.
5 năm cách đây
Hi, did you solve the problem? Also I find this annoying result.
4 năm cách đây
This warning still appears in 4.20 (beta) Admin pages
4 năm cách đây
This warning still appears in 4.20 Admin pages

main.js:1001 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
window.XMLHttpRequest.open @ main.js:1001
4 năm cách đây
I just created a work item for this.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.