Getting the iframe's URL parameter from within the iframe
<p>I have an iframe that is loaded on web page and I do not have permissions to access the parent page. I have access to the iframe's code. I would like to access one of the parameters of this iframe. What is the best way to achieve this?</p>

<p>I tried location.search but it does not give me all the parameters.</p>

<p>Any suggestions?
Cheers.</p>