Hi to all, I have the following problem:
I have a page that includes an iframe, this iframe is dynamic (meaning that I don't know what will be its source, user can insert any URL). The problem is that are some URLs that take over all over the site, I found that in the URL(pages) they are using the following code
page=self.location.href; if(page!=top.location.href) top.location.href=page;
They check if the top.location(the main page is not the same), if is not the same they override the location, the result of this code is that the page take over and the URL(page) is displayed in all the page and not only in the iframe.
I was wandering if there is a way to stop this, how I can know the page is going to take over?
Is there is a way to stop this?
This is driving me crazy...
I'll appreciative any help to solve this
Thanks in advanced :'(