eMoneySpace
Welcome, Guest. Please login or register.
Did you miss your activation email?
News: Welcome to eMoneySpace! Sep 25, 2022 02:05 pm




frame break test script
Print
Author Topic: frame break test script  (Read 4587 times)
abc1233
Reputation: (+7)
*

Offline

Gender: Male
Posts: 493
Referrals: 2

View Profile
Dec 10, 2010 07:55 am

Hello guys ,
does any one have any simple frame break test script ,

pls pm me or post here thanks
Logged
abc1233
Reputation: (+7)
*

Offline

Gender: Male
Posts: 493
Referrals: 2

View Profile
Reply #1: Dec 10, 2010 08:14 am

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>Frame everything</title>
</head>
<body>
<p>
<a href="/">How it is done</a>
</p>
<h1>Frame </h1>

<form method="get" onsubmit="window.onbeforeunload = function() {};" action="">
<p>
<input name="url" type="text" value="http://google.com" size="60"/>
<input type="submit" value="Frame it"/>
</p>
</form>
<iframe src="http://google.com" width="100%" height="300"></iframe>



</body>
</html>

i tried this code but when i input url it still shows google.com
Logged
Razor
Reputation: (0)
*

Offline

Posts: 90
Referrals: 0

View Profile
Reply #2: Dec 10, 2010 08:44 am

Code:
<script language="javascript" type="text/javascript">
if (top.location != self.location) {
top.location.replace(self.location)
}
</script>
Logged
abc1233
Reputation: (+7)
*

Offline

Gender: Male
Posts: 493
Referrals: 2

View Profile
Reply #3: Dec 10, 2010 11:17 am

can any one please provide frame break test script i will be really thankful to you
Logged
Fennec
Reputation: (+70)
*

Offline

Posts: 954
Referrals: 10

View Profile
Reply #4: Dec 10, 2010 04:30 pm

Unfortunately you can't stop a site from frame breaking, some of the provided solutions here might work to stop some frame breakers, but there are other ways to bypass them.

I did extensive research on this, and I can tell you just don't waste your time on it Smiley
Logged
abc1233
Reputation: (+7)
*

Offline

Gender: Male
Posts: 493
Referrals: 2

View Profile
Reply #5: Dec 11, 2010 03:39 am

yes you are right there is no way to stop frame breaker , Im asking for frame break test script so we can check the sites in it to check whether it break frames or not ,
for example = http://traffichoopla.com/FrameBreakerTest.php
Unfortunately you can't stop a site from frame breaking, some of the provided solutions here might work to stop some frame breakers, but there are other ways to bypass them.

I did extensive research on this, and I can tell you just don't waste your time on it Smiley
Logged
Fennec
Reputation: (+70)
*

Offline

Posts: 954
Referrals: 10

View Profile
Reply #6: Dec 11, 2010 05:27 am

yes you are right there is no way to stop frame breaker , Im asking for frame break test script so we can check the sites in it to check whether it break frames or not ,
for example = http://traffichoopla.com/FrameBreakerTest.php

Ah, now I understand you, okay I modified the code you provided to work for you, here try it :

Quote
<html>
   <head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
      <title>Frame Breaker Tester</title>
   </head>
   <body>
      <h1>Frame </h1>
      <p>
      <input id="fb_url" name="url" type="text" value="" size="50"/>
      <button onclick="fb();">Frame It</button>
      </p>
      <iframe id="iframe" src="" width="100%" height="300"></iframe>
      <script type="text/javascript">
      function fb()
      {
         var url = document.getElementById( 'fb_url' );
         var iframe = document.getElementById( 'iframe' );
         iframe.setAttribute('src', url.value);
         return false;
      }
      </script>
   </body>
</html>

Test it out and let me know how it went.
Logged
abc1233
Reputation: (+7)
*

Offline

Gender: Male
Posts: 493
Referrals: 2

View Profile
Reply #7: Dec 11, 2010 07:22 am

thank you very much sir the code worked  Smiley ems
Ah, now I understand you, okay I modified the code you provided to work for you, here try it :

Test it out and let me know how it went.
Logged
Fennec
Reputation: (+70)
*

Offline

Posts: 954
Referrals: 10

View Profile
Reply #8: Dec 11, 2010 08:10 am

thank you very much sir the code worked  Smiley ems

That's great  thumbs up

Cheers.
Logged
Print
 
Jump to:  
Copyright © 2008-2022 eMoneySpace. All rights reserved.