Streaming live at 10am (PST)

Jquery script cannot be loaded because of CORS policy

https://www.rhizomemedia.co/ is hosted on Webflow, but we recently noticed that the jquery cannot be loaded because of CORS policy. Bug?


Here is my site Read-Only: LINK
(how to share your site Read-Only link)

1 Like

Hi @Livia_Zhang

Thanks for getting in touch about the cross domain code, I am here to help.

At the moment in order to execute the code, the code must originate on the same top level domain or subdomain of the site you are hosting.

This means for example that if you place the code on a cdn and then map a subdomain on your site to the cdn having the custom code with a sub domain like files.mysite.com, where mysite.com is hosted in Webflow and files.mysite.com is pointed to the cdn server (like Amazon AWS or Rackspace as an example), then you can execute that code.

If the code is not on the same domain, the browser will block that code due to the CORS policy in effect in the browser.

Currently, Webflow does not yet have the ability to enable CORS for cross domain requests.

Hopefully, this was helpful. :bowing_man:

This jquery script is actually generated and put into the HTML by Webflow. Not us.

<script type="text/javascript" src="https://d3e54v103j8qbb.cloudfront.net/gen/js/webflow-designer.min.52d60c2a68.js"></script>

1 Like

Can’t replicate nor see that error. Just checked your site link @Livia_Zhang

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.