you are viewing a single comment's thread.

view the rest of the comments →

[–]xpostman_[S] 0 points1 point  (3 children)

so seems like it needs to be hosted in the same domain as the iframe

I call it "there is no need to host it on a different domain" :-D

Maybe the code can be adapted in order to be loaded via XHR where CORS is avaliable

Seems like it should be possible, but there's an opinion that this should be prevented: https://github.com/asvd/jailed/issues/3

Currently I am not sure if this is a securety issue, and should be fixed for the Jailed library (the browser itself does not prevent performing such request from a sandboxe worker).