referrer url via iframe

1 post

Flag Post

Is there a way to get the referrer URL if your game is behind an iframe.
Because the game is not on the same domain, access the parent referrer (like: window.parent.document,referrer) will throw a security error.

Did you know a way to avoid this?