How to refer to the true 'body' of a page? [NOT iFrame body]
<p>I have a script that create a new div element. Then, I want to append the div to the body of the page using appendChild method. </p>

<p>The script is look like this :</p>

<pre><code>var div = document.createElement('div');
div.id = 'newdiv';
document.body.appendChild(div);
</code></pre>

<p>Unfortunately, the div also appended to the body of iframes. So, my question is, how to refer to the true body of the document, not including the body of the iframes? That way, the div just appended once, to the "true body" of the document. Thanks before, and sorry if my english is bad. :-D</p>

<p>EDIT:</p>

<p>This happens at Mozilla Firefox browser. I haven't tested it at any other browsers yet. And another information, this is a GreaseMonkey script I try to develop.</p>
