Is it possible to change javascript variable via iframe ?
<p>I am trying to change javascript variable when iframing that page. Not the same, but did some similar on pinterest</p>

<pre><code>if (top != self) {
$('body').html('&lt;h1&gt;Unauthorized&lt;/h1&gt;')
}
</code></pre>

<p>Above is their code. I used this to cancel it</p>

<pre><code>&lt;iframe src="http://www.pinterest.com/?v=
if(top!%3Dself)%7B%24('body').html('%3Ch1%3EUna uthorized%3C%2Fh1%3E')%7D"&gt;
</code></pre>

<p>This works on chrome. So my question is, ccan we change javascript variables via iframe ?</p>
