question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Synchronous XMLHttpRequest on the main thread is deprecated app.js:342

See original GitHub issue

Hi When i do a jquery.load to load a page with jquery in AdminLte i get the following error for app.js

Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help http://xhr.spec.whatwg.org/ app.js:342

Does someone know how to solve this ? Thanks

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Reactions:1
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
Bestcxycommented, Mar 16, 2017

when you use ajax , set the async : true, will be ok.

0reactions
hfhchancommented, Oct 25, 2015

There must be a script tag somewhere in the string you passed into jQuery’s .html(). jQuery synchronously fetches any scripts inside the string and executes them when inserting HTML into the DOM.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Synchronous XMLHttpRequest on the main thread is deprecated ...
Hi When i do a jquery.load to load a page with jquery in AdminLte i get the following error for app.js Synchronous XMLHttpRequest...
Read more >
Synchronous XMLHttpRequest on the main thread is deprecated
I'm using JQuery 1.7.1. What in my app could I be doing that has caused this message to start appearing? javascript · jquery...
Read more >
Synchronous XMLHttpRequest on the main thread is ...
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. in Getting Started ...
Read more >
Synchronous XMLHttpRequest on the main thread is deprecated
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience.
Read more >
Synchronous XMLHttpRequest deprecated - Google Groups
"Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found