Files
kiskaadee 07bbd4b72d test: add test page with sample magnet links
- Include sample magnet links for Perfect Blue (1997) and Black Swan (2010)
- Add quick test card with generic hash for testing click interception
2026-09-25 16:45:41 -05:00

113 lines
2.9 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Magnetflix - Test Page</title>
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
background: #0f172a;
color: #f8fafc;
padding: 40px 20px;
display: flex;
justify-content: center;
}
.container {
max-width: 600px;
width: 100%;
background: #1e293b;
padding: 30px;
border-radius: 12px;
box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}
h1 {
font-size: 22px;
margin-bottom: 8px;
color: #e50914;
}
p {
color: #94a3b8;
font-size: 14px;
margin-bottom: 24px;
line-height: 1.5;
}
.magnet-list {
display: flex;
flex-direction: column;
gap: 16px;
}
.magnet-card {
background: #0f172a;
border: 1px solid #334155;
border-radius: 8px;
padding: 16px;
display: flex;
flex-direction: column;
gap: 8px;
}
.magnet-title {
font-weight: 600;
font-size: 15px;
color: #38bdf8;
}
.magnet-link {
display: inline-flex;
align-items: center;
gap: 6px;
background: #e50914;
color: #ffffff;
padding: 8px 14px;
border-radius: 6px;
text-decoration: none;
font-weight: 600;
font-size: 13px;
width: fit-content;
transition: background 0.15s;
}
.magnet-link:hover {
background: #f6121d;
}
.hint {
font-size: 12px;
color: #64748b;
margin-top: 20px;
}
</style>
</head>
<body>
<div class="container">
<h1>🧲 Magnetflix Test Page</h1>
<p>
Clicking any magnet link below will be hooked by the Magnetflix extension, opening the in-page popup with the "Continue" button.
</p>
<div class="magnet-list">
<div class="magnet-card">
<span class="magnet-title">Sample 1: Perfect Blue (1997)</span>
<a href="magnet:?xt=urn:btih:1234567890abcdef1234567890abcdef12345678&dn=Perfect.Blue.1997.1080p.BluRay.x264" class="magnet-link">
🧲 Download Magnet Link
</a>
</div>
<div class="magnet-card">
<span class="magnet-title">Sample 2: Black Swan (2010)</span>
<a href="magnet:?xt=urn:btih:abcdef1234567890abcdef1234567890abcdef12&dn=Black.Swan.2010.1080p.BluRay" class="magnet-link">
🧲 Download Magnet Link
</a>
</div>
<div class="magnet-card">
<span class="magnet-title">Sample 3: Generic / Custom Torrent</span>
<a href="magnet:?xt=urn:btih:1111222233334444555566667777888899990000&dn=Movie.Title.2024.1080p" class="magnet-link">
🧲 Download Magnet Link
</a>
</div>
</div>
<div class="hint">
💡 Tip: You can also click the Magnetflix icon in your Firefox browser toolbar anytime to inspect or manually input a link.
</div>
</div>
</body>
</html>