问题描述:

Is there I way to get the URL of the parent frame from within an iframe? I know you can't do this using JavaScript (or is there?). Is there a way to do it server-side?

Or is the only solution that we change our widget embed codes so that they include some JavaScript that communicates the window.location to the iframe (postMessage/changing the location hash of the iframe)?

相关阅读:
Top