Jquery从远程站点加载json的问题

时间:2015-05-21 20:17:14

标签: jquery html css json

我现在已经有一段时间没有这个问题,并且没有找到任何帮助。我试图从trackobot.com加载JSON。

这是我的Jquery:

$.ajax({
   type: 'GET',
    url: 'https://trackobot.com/profile/history.json?username=still-whelp-8571&token=bybhMPvw6b6Lr77aeX3Z?callback=?',
    async: false,
    contentType: "application/json",
    dataType: 'json',
    success: function(data) {
       console.log(data);
    }
});

我一直这样:

Refused to execute script from 'https://trackobot.com/profile/history.json?username=still-whelp-8571&token=…Lr77aeX3Z?callback=jQuery2130673694928875193_1432239078433&_=1432239078434' because its MIME type ('application/json') is not executable, and strict MIME type checking is enabled.

感谢您的帮助!

0 个答案:

没有答案