Streaming live at 10am (PST)

Custom code triggers CORS block for Webflow's Jquery

I might be analysing the problem wrong but here is what I’ve got: In a custom written code, I am using Jquery’s load function to load a page of my website inside of a div. Each time someone clicks a button, this code executes and dynamically changes the content of the div depending on what button is clicked.

Now the problem is when you go on the page that has the load function and refresh the page (for some reason first load works as intended), the browser CORS-blocks Webflow’s Jquery, resulting in everything it depends on breaking (including my custom code).

Annotation 2020-07-08 003540

So, unless you reset Chrome or go on an incognito tab, you cannot get the CORS-block to be lifted.

I cannot understand why calling another page on the same origin is causing a CORS-block.

Here is the page with the load function
Here is my Read-Only