Synchronous XMLHttpRequest on the main thread is deprecated
-
Hi,
I am using your cookie and content security policy plugin. It works quite well but there is one issue I cannot solve.When I am using the WordPress Gutenberg “tool” -file- to embed a PDF File. The created link is working but the created pdf-view is suppressed.
In console I can see the error message: “Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience”
The warning is given by “jquery.min.js?ver=3.6.0:formatted:3890”. My idea is, that WordPress tries to load the pdf-view via ajax and your plugin is blocking this. I tried in different ways to allow these script like https://mydomain/wp-includes/js/jquery/jquery.min.js
But all of my tries are not working. Now I really hope you can help me with this.Bests
Simon
- The topic ‘Synchronous XMLHttpRequest on the main thread is deprecated’ is closed to new replies.