Hello! Please tell me why Google Chrome gives the message Resource interpreted as Script but transferred with MIME type text/x-js: what does it mean? The content file is valid in the source file. I have found such an answer on this account, but my scripts do not connect via php, and yes and so JS-scripts do not work.

  • content-type: application / javascript - so you? - ghost rider
  • @ghost rider you mean this <meta http-equiv="content-type" content="text/html; charset=utf-8" /> - Artyomich
  • I meant when sending header'a. Don't you use PHP at all? - ghost rider
  • 3
    You need to add the line AddType text / javascript, in .htaccess, if the script is executed on a foreign server, contact the admin - ghost rider
  • one
    Yes, most likely the web server is not configured correctly. - Nikolai Kim

0