If this page appears within an iframe, a security warning will be displayed.
<!DOCTYPE html>
<html>
<head>
<title>Test Iframe</title>
<style>
body {
margin: 0;
padding: 20px;
font-family: Arial, sans-serif;
}
.iframe-container {
width: 100%;
max-width: 500px;
margin: 20px auto;
border: 2px solid #4a6cf7;
border-radius: 4px;
overflow: hidden;
}
iframe {
width: 100%;
height: 400px;
border: none;
}
.note {
background: #f0f5ff;
padding: 15px;
border-radius: 4px;
margin-top: 20px;
color: #333;
}
</style>
</head>
<body>
<h1>Testing Iframe Detection</h1>
<p>This page contains an iframe pointing to the anti-iframe demo.</p>
<div class="iframe-container">
<iframe src="https://anti-iframe.vercel.app" title="Anti-Iframe Demo"></iframe>
</div>
<div class="note">
<strong>Note:</strong> The iframe above should show a security warning modal
because the target page blocks framing attempts.
</div>
</body>
</html>