On Mon, Jul 14, 2008 at 12:08 PM, Michael Ryan (Software Developer) <
[EMAIL PROTECTED]> wrote:

>
> I was thinking, in terms of stopping communication to/from various
> gadgets via window.top/parent etc...
>
> Would a short script before other scripts load with the gadget work?
>
> window.top = null;
> window.parent = null;
> window.self.top = null;
> window.self.parent = null;
>
> this way the actual reference isn't available anymore?  Not sure if this
> is protected/possible in the main browser engines (gecko, msie, webkit,
> khtml, etc).  just a thought as an alternative to the wildcard dns
> option.


It doesn't work -- these are readonly properties. Even if it did work, most
likely the properties would be further up the prototype chain anyway so you
could just delete the property.


>
> --
> Michael J. Ryan  --  Software Developer  --  Apollo Group
>
>
>
>
> This message is private and confidential. If you have received it in error,
> please notify the sender and remove it from your system.
>

Reply via email to