You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we want to use programming interface to auto run some command for user, we encountered issues when main site and ttyd site are host under subdomains.
for example:
we run a web site that helps show some useful debug commands, under a.com, with one ttyd iframe using sub domain: ttyd.a.com.
when one clicks debug command at a.com's page, we want to auto pate and run inside ttyd.a.com's iframe, but there shown errors:
Blocked a frame with origin "https://a.com" from accessing a cross-origin frame.
at <anonymous>:1:68
(anonymous) @ VM202:1
So wish there have some postmessage programming interface to communicate to ttyd pages to just run some limit commands like paste&run command.
The text was updated successfully, but these errors were encountered:
When we want to use programming interface to auto run some command for user, we encountered issues when main site and
ttyd
site are host under subdomains.for example:
we run a web site that helps show some useful debug commands, under
a.com
, with one ttyd iframe using sub domain:ttyd.a.com
.when one clicks debug command at
a.com
's page, we want to auto pate and run insidettyd.a.com
's iframe, but there shown errors:So wish there have some
postmessage programming interface
to communicate to ttyd pages to just run some limit commands like paste&run command.The text was updated successfully, but these errors were encountered: