I've got an interesting one here..
The scenario
I have a Squarespace website that doesn't load the pages, it just swaps out the content (think Angular routing) and on this website I have a Typeform embedded via an iframe.
Because the page doesn't "reload" when a new page is changed, the Typeform doesn't load the iframe. It needs to be triggered by a page reload, so naturally i added some JS to do this
(function(){
window.location.reload();
stop();
})();
However, again much like the form, JS isn't being triggered because the page isn't reloading, it's swapping content. I confirmed this by reloading the page and the line above worked.
The question
How on earth am I supposed to reload the page if JS isn't loaded on the page because of the way the page is rendered?