Question about mime type processing
Hello,
Im trying to make a xcross-domain call to a google drive spreadsheet. The code is below.
But Im receiving this error.
Refused to execute script from 'https://docs.google.com/spreadsheets/d/blahblahblah/edit?callback=appendData&_=1411589004278' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
Any thoughts(besides give it up, and go into basketweaving)?
$("#clickSS").click(function () {
$.ajax({
type: 'get',
dataType: 'jsonp',
jsonpCallback:'appendData',
mimeType: "application/vnd.google-apps.spreadsheet",
url:'https://docs.google.com/spreadsheets/d/1Z7Vtm93bNg3AU1rAYwgOj0....
success: function($this){
console.log($this);
}
});
});
});
function appendData () {
$("#modal").empty();
yadayada
}