| <!DOCTYPE html> |
| <html lang="en"> |
| <head> |
| <meta charset="UTF-8" /> |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"/> |
| <title>Link2Unlock Bypass</title> |
| <style> |
| * { |
| margin: 0; |
| padding: 0; |
| box-sizing: border-box; |
| } |
| |
| body { |
| background: #000; |
| color: #fff; |
| font-family: 'Inter', sans-serif; |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| height: 100vh; |
| animation: fadeIn 0.5s ease; |
| } |
| |
| .card { |
| background: #111; |
| padding: 40px; |
| border-radius: 16px; |
| box-shadow: 0 0 0 1px #222; |
| max-width: 500px; |
| width: 100%; |
| text-align: center; |
| } |
| |
| h1 { |
| font-size: 2rem; |
| margin-bottom: 20px; |
| letter-spacing: -1px; |
| } |
| |
| input { |
| width: 100%; |
| padding: 12px 16px; |
| font-size: 1rem; |
| background: #1a1a1a; |
| color: #fff; |
| border: 1px solid #333; |
| border-radius: 8px; |
| margin-bottom: 12px; |
| } |
| |
| button { |
| width: 100%; |
| padding: 12px; |
| background: #0070f3; |
| color: white; |
| border: none; |
| border-radius: 8px; |
| font-weight: bold; |
| cursor: pointer; |
| transition: 0.3s; |
| } |
| |
| button:hover { |
| background: #0051c1; |
| } |
| |
| .result { |
| margin-top: 20px; |
| text-align: left; |
| display: none; |
| } |
| |
| .result a { |
| color: #0070f3; |
| text-decoration: none; |
| display: block; |
| margin-bottom: 8px; |
| font-weight: 500; |
| transition: 0.3s; |
| } |
| |
| .result a:hover { |
| color: #00b3ff; |
| } |
| |
| .error { |
| color: red; |
| font-weight: bold; |
| } |
| |
| @keyframes fadeIn { |
| from { opacity: 0; transform: translateY(10px); } |
| to { opacity: 1; transform: translateY(0); } |
| } |
| </style> |
| </head> |
| <body> |
| <div class="card"> |
| <h1>Link2Unlock Bypass</h1> |
| <form id="urlForm"> |
| <input type="text" id="urlInput" placeholder="Paste your link here..." /> |
| <button type="submit">Bypass</button> |
| </form> |
| <div id="result" class="result"></div> |
| </div> |
|
|
| <script> |
| const form = document.getElementById('urlForm'); |
| const urlInput = document.getElementById('urlInput'); |
| const resultDiv = document.getElementById('result'); |
| |
| form.addEventListener('submit', async (e) => { |
| e.preventDefault(); |
| const url = urlInput.value.trim(); |
| |
| resultDiv.style.display = 'block'; |
| resultDiv.innerHTML = `<p>Loading...</p>`; |
| |
| if (!/https:\/\/link2unlock\.com\/[a-zA-Z0-9]+/.test(url)) { |
| resultDiv.innerHTML = `<p class="error">Invalid link</p>`; |
| return; |
| } |
| |
| try { |
| const res = await fetch(`/b?url=${encodeURIComponent(url)}`); |
| const data = await res.json(); |
| |
| if (data.success === false) { |
| resultDiv.innerHTML = `<p class="error">${data.error}</p>`; |
| } else { |
| resultDiv.innerHTML = data.map(item => `<a href="${item.url}" target="_blank">${item.name}</a>`).join(''); |
| } |
| } catch (err) { |
| resultDiv.innerHTML = `<p class="error">Something went wrong</p>`; |
| } |
| }); |
| </script> |
| </body> |
| </html> |