I have been adding logs to the console to check the status of different variables without using the Firefox debugger.
However, in many places in which I add a
Visual Studio 2015/2017's live debugger is injecting code that contains the deprecated call.
press F12
F1
."Don't show chrome Data Saver warning"
- set this checkbox."Log XMLHTTPRequest"
- set this checkbox too.Enjoy
To avoid this warning, do not use:
async: false
in any of your $.ajax() calls. This is the only feature of XMLHttpRequest that's deprecated.
The default is
async: true
jQuery has deprecated synchronous XMLHTTPRequest
And I got this exception for including one can.js script inside another, e.g.,
{{>anotherScript}}
I got this exception when I set url in query like "example.com/files/text.txt". Ive changed url to "http://example.com/files/text.txt" and this exception dissapeared.
I have been looking at the answers all impressive. I think He should provide the code that is giving him a problem. Given the example below, If you have a script to link to jquery in page.php then you get that notice.
$().ready(function () {
$.ajax({url: "page.php",
type: 'GET',
success: function (result) {
$("#page").html(result);
}});
});