ok , thanks :) On Mon, Jan 5, 2009 at 10:34 PM, Ricardo Tomasi <ricardob...@gmail.com>wrote:
> > There is no way out! > > Actually, there is one: load the remote page via a proxy of your own, > where you can parse it and remove the script... websites are not meant > to be "captured" by others. > > On Jan 5, 6:39 am, AbhishEk <mithuabh...@gmail.com> wrote: > > But , i have such a scenario in my website Sir. and i am not doing it for > > ill purposes. And also i was searching something similar to what we have > > "security=restricted" in case of Internet Explorer.I want to implement > the > > same in case of Firefox also. > > Plz suggest a way out :) > > thanks > > > > On Mon, Jan 5, 2009 at 12:41 AM, Kean <shenan...@gmail.com> wrote: > > > > > The site used a frame braker for a reason, which is, I do not want my > > > site be in someone elses frame. Please respect that or contact that > > > site admin. > > > > > On Jan 4, 2:43 am, AbhishEk <mithuabh...@gmail.com> wrote: > > > > plz help > > > > > > On Fri, Jan 2, 2009 at 5:44 PM, AbhishEk <mithuabh...@gmail.com> > wrote: > > > > > actually , the written javascript directly checks the url of > browser nd > > > if > > > > > it finds a dff , it fires a location.replace command . > > > > > Plz suggest how can i stop this default behaviour. > > > > > > > On Fri, Jan 2, 2009 at 6:51 AM, Ricardo Tomasi < > ricardob...@gmail.com > > > >wrote: > > > > > > >> 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 >