homepage Welcome to WebmasterWorld Guest from 54.234.128.25
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld

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




msg:4011939
 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




msg:4015893
 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