Welcome to WebmasterWorld Guest from 107.21.163.40

Forum Moderators: open

Message Too Old, No Replies

How to stop javascript to work into frame window?

Stop javascript or some else?

     
12:15 am on Oct 23, 2009 (gmt 0)

New User

5+ Year Member

joined:Feb 22, 2008
posts: 13
votes: 0


Hello,

Do it is possible to break this javascript:

<script type="text/javascript"><!--
if (self != top)
{
if (document.images)
top.location.replace(window.location.href);
else
top.location.href = window.location.href;
}
// --></script>

to open frammed page into window - target=top?

And if it is possible, can you help me and tell me how is possible?
I see here in forum that I can to do that with some proxy, but I dont know how to do that alone, can you help me please, give me example?

Thank you very much

9:28 pm on Oct 29, 2009 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member whoisgregg is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Dec 9, 2003
posts:3416
votes: 0


Welcome to WebmasterWorld, mladja04!

Have you tried asking the site to remove the code? Or ask them to make it selective when it displays to allow your site to frame theirs?