My script is running in an iframe in an iframe and I'm trying to get the root referrer (the url the iframe is on). It's not working. Here's the code:
<script type="text/javascript">
var referrer_url = document.referrer;
document.write("You come from this url: " +referrer_url);
</script>
Any ideas?