Advertise Here
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
News
: Earn your money online safely here at eMoneySpace.
Aug 11, 2022 08:49 PM
Home
Search
Login
Register
eMoneySpace
»
Webmaster's Corner
»
Developer Board
»
frame break test script
frame break test script
Pages: [
1
]
« previous
next »
Print
Author
Topic: frame break test script (Read 4551 times)
abc1233
Reputation: (
+7
)
Offline
Gender:
Posts: 493
Referrals: 2
frame break test script
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:
Posts: 493
Referrals: 2
Re: frame break test script
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
Re: frame break test script
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:
Posts: 493
Referrals: 2
Re: frame break test script
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
Re: frame break test script
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
Logged
abc1233
Reputation: (
+7
)
Offline
Gender:
Posts: 493
Referrals: 2
Re: frame break test script
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
Quote from: Kareem on 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
Logged
Fennec
Reputation: (
+70
)
Offline
Posts: 954
Referrals: 10
Re: frame break test script
Reply #6:
Dec 11, 2010 05:27 AM
Quote from: abc1233 on 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
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:
Posts: 493
Referrals: 2
Re: frame break test script
Reply #7:
Dec 11, 2010 07:22 AM
thank you very much sir the code worked
Quote from: Kareem on Dec 11, 2010 05:27 AM
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
Re: frame break test script
Reply #8:
Dec 11, 2010 08:10 AM
Quote from: abc1233 on Dec 11, 2010 07:22 AM
thank you very much sir the code worked
That's great
Cheers.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
EMS
-----------------------------
=> Forum Rules, FAQ and Announcements
=> Suggestions, Feedback and Forum Support
=> EMS Games & Contests
-----------------------------
Get Paid To Websites
-----------------------------
=> General Discussion
=> Crypto Currencies
=> Praises and Applause
=> Complaints
=> New and Pending Websites
=> Suspect Websites
=> Stable Websites
=> Downline Builder
=> Referral Exchange
=> Referral Deals
-----------------------------
Webmaster's Corner
-----------------------------
=> Developer Board
=> List your Website or Blog
=> Industry Announcements
=> Advertising Offers
-----------------------------
Members Lounge
-----------------------------
=> Chit-Chat Main
=> Buy and Sell
=> Introduce Yourself!
=> Non English Forum
=> Advertise Here