Try our conversational search powered by Generative AI!

CHROME: Refused to execute script from editor_plugin.js because its MIME type ('') is not executable, and strict MIME type checking is enabled.

Vote:
 

Hi All,
Having this problem in Chrome ONLY, when focusing on wisywig, it does not "open" the editor.

The error in javascript console: /episerver/cms/#viewsetting=viewlanguage:///sv&context=epi.cms.contentdata:///9122:1 Refused to execute script from '/util/Editor/tinymce/plugins/TinyMceExtendedValidElements/editor_plugin.js?moduleArea=Util' because its MIME type ('') is not executable, and strict MIME type checking is enabled.

-regards

#182937
Oct 02, 2017 10:16
Vote:
 

Hi Gosso,

Oh what a coincidence, had the same issue last day... Chrome refuses to execute an AJAX script due to wrong MIME type.

if you are using a EmptyFileHandler for TinyMceExtendedValidElements, it is important that you return MIME type application/javascript

public void ProcessRequest(HttpContext context)
{
     context.Response.ContentType = "application/javascript";
}



#182938
Oct 02, 2017 10:16
Vote:
 
<p>I'm being off topic here - but is this your evil twin brother, Gosso?</p>
#182940
Oct 02, 2017 10:23
Vote:
 

Haven't taken my medication innocent

#182941
Oct 02, 2017 10:29
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.