1 decade ago by fugufish
hmm anyone has had this problem before?
- I have domain1.com, with an iframe
- The iframe is loaded with an impactJS game hosted on domain2.com
the game runs perfect, but the error console shows something like
Unsafe JavaScript attempt to access frame with URL http://domain1.com from frame with URL http://domain2.com/game. Domains, protocols and ports must match.
I understand that the domains/ports should be same, but what code in ImpactJS is actually attempting to access cross domain data?
and how do we still host games in an iframe without having this error?
- I have domain1.com, with an iframe
- The iframe is loaded with an impactJS game hosted on domain2.com
the game runs perfect, but the error console shows something like
Unsafe JavaScript attempt to access frame with URL http://domain1.com from frame with URL http://domain2.com/game. Domains, protocols and ports must match.
I understand that the domains/ports should be same, but what code in ImpactJS is actually attempting to access cross domain data?
and how do we still host games in an iframe without having this error?