tags:

views:

23

answers:

1

There are some pages have such javascript:

<script language="javascript">
if (top.location != location)
top.location.href = self.location;
</script>

If I have a web page with a frame, linked to those pages, when they loaded, the url of the browser will be changed to their urls. I don't want this, what can I do?

+1  A: 

Frame-busting busting can be achieved (as explained here, on stackoverflow), but it's an endless spiral of busters-busting-busters...

I for one advice against forcing frame-busting sites to be framed. It has some bad karma feel about it.

Berzemus