Hacker News new | ask | show | jobs
by LeBlanc 4412 days ago
Do you have the ability to execute JS on the parent page? If so, the easiest and most reliable way to do this is to use the postMessage API to send document.referrer from the parent to the iframe.

https://developer.mozilla.org/en-US/docs/Web/API/Window.post...