Clear all

Workaround - Single JS file for multiple iFrames on different domains  

Posts: 1
New Member
Joined: 5 months ago


I am in the process of working on an iframe setup. We're using it to eliminate the need to have woocommerce setup for a series of mini sites. I just wondered if it's possible/straightforward to do the following:

- Upload the external workaround script to the primary site (so not loading external elements)

- Adjust the script so that a single file will work and allow Cross Origin on multiple iframes each on different domains?



Many mini sites with iframe > single parent


Thanks in advance!

1 Reply
Posts: 171
Joined: 11 years ago

No sure what you mean exactly. 

 - the external workaround script can be configured that it does not matter where you place it (multi domain support).

- What do you mean with single file? The external workaround can be combined with a config switcher script.

Can you give me more details?

Best, Michael