If the iframe has access to the parent frame it's on the same domain,
then you have access to it right? I think there's nothing you can do
to stop that.

On Jan 1, 8:24 am, AbhishEk <mithuabh...@gmail.com> wrote:
> Hi,
> I have a WebPage on which i have an iframe inside which i open child pages .
> In one of the child pages following script is written
>
> script type="text/javascript">
>     if (self != top) {
>     if (window.location.href.replace)
>         top.location.replace(self.location.href);
>         else
>             top.location.href=self.document.href;
>             }
>  </script>
>
> Which replaces my original url to its url and my page is gone ..
> is there any way using jquery that i can stop this page from bursting my
> iframe.
>
> Plz Help.
>
> Thanks in advance
> ~abhi

Reply via email to