• Resolved hickernelll1

    (@hickernelll1)


    I don’t know if this was answered before (there’s no way to search the threads) but I have embedded the coming events on an external web page and when I click on the event to open the view, I receive the following error:

    Refused to execute script from ‘http://www.scrantonculturalcenter.org…’ because its MIME type (‘application/json’) is not executable, and strict MIME type checking is enabled.

    (My url has been truncated to cut down on space.)

    Has anyone found a fix for this? It happens regardless of the browsers I’ve tried (Chrome, Microsoft Edge).

    https://wordpress.org/plugins/all-in-one-event-calendar/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    Sorry for not replying sooner. Do you still have this issue? Have you upgraded the plugin to the latest version?

    Thread Starter hickernelll1

    (@hickernelll1)

    I’m at the most current version for WordPress, the calendar and the super widget.

    As a temporary work-around, I’ve edited the ai1ec_js_widget.js file (line 127) to change jsonp to json in the url and that corrects it for a while. It reverts back to jsonp after any changes are made in the settings.

    I’ve found this issue on both Microsoft Edge and Chrome. There is no issue with Mozilla Firefox. I haven’t tested it on Safari yet.

    Some suggestions have been to change the MIME types on the server (unable to edit the server default types; can only add new and that didn’t work), or delete the X-Content-Type-Options: nosniff, and I’m not finding that in any code I have access to edit.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Unexecutable MIME type’ is closed to new replies.