Hi All, Am unable to resolving this issue please provide me any solution to fix this. am getting an below error Refused to execute script from ‘https://s2020293361.t.eloqu’ because its MIME type (‘text/html’) is Thanks Bharath
i tried with all the links below mentioned but am not able to finding the right solution links: Chrome refuses to execute an AJAX script due to wrong MIME type Disable Chrome strict MIME type checking Refused to execute script, strict MIME type checking is enabled? Link and execute external JavaScript file hosted on GitHub $.ajax({ url: 'https://example.com', type: 'post', dataType: "jsonp", contentType: "application/javascript", success: function (msg) { console.log("success"); }, error: function (request, status, error) { console.log(error); } }); i tried with diff contentTypes like "text/html","text/javascript","application/jsonp" and removed from webconfig below line <pre><remove name="X-Content-Type-Options" /> <add name="X-Content-Type-Options" value="nosniff" />
text/html
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)