[Greasemonkey] unsafeWindow question
Aaron Boodman
zboogs at gmail.com
Sun Aug 14 00:56:35 EDT 2005
On 8/13/05, Bill Donnelly <donnelly at snowcrest.net> wrote:
> I just found out that when my script is executed for a frame,
> unsafeWindow points to "top."
I don't experience this. The following user script:
alert(unsafeWindow.location.href);
with the following test page:
<iframe src="http://google.com"></iframe>
I get the URL of the iframe followed by the URL of the test page.
Which is correct. Do you have a test case which shows different
behavior?
--
Aaron
More information about the Greasemonkey
mailing list