homepage Welcome to WebmasterWorld Guest from 54.211.230.186
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
How to stop javascript to work into frame window?
Stop javascript or some else?
mladja04

5+ Year Member



 
Msg#: 4011937 posted 12:15 am on Oct 23, 2009 (gmt 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

 

whoisgregg

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



 
Msg#: 4011937 posted 9:28 pm on Oct 29, 2009 (gmt 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?

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved