0

I installed a module ajax add to cart and when click add to cart, it show error

Refused to execute script from 'http://.../ajaxcartsuper/ajaxcart/delete/id/...' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.

I saw it in the head.phtml file

<meta http-equiv="Content-Type" content="<?php echo $this->getContentType() ?>" />

But i cann't fix it, please help me.

0

put the below line to htaccess file

<IfModule mod_headers.c>
Header always set X-Content-Type-Options nosniff    
</IfModule>
  • thanks for answer, but it not work for me :( – TN98 Sep 28 at 8:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.