|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="en"> |
| 3 | +<head> |
| 4 | + <meta charset="UTF-8"> |
| 5 | + <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 6 | + <title>Bypass Utility | lupsup39</title> |
| 7 | + <style> |
| 8 | + :root { |
| 9 | + --bg: #0d1117; |
| 10 | + --border: #30363d; |
| 11 | + --text: #c9d1d9; |
| 12 | + --accent: #58a6ff; |
| 13 | + --success: #3fb950; |
| 14 | + } |
| 15 | + body { |
| 16 | + font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace; |
| 17 | + background: var(--bg); |
| 18 | + color: var(--text); |
| 19 | + display: flex; |
| 20 | + justify-content: center; |
| 21 | + padding-top: 50px; |
| 22 | + margin: 0; |
| 23 | + } |
| 24 | + .container { |
| 25 | + width: 90%; |
| 26 | + max-width: 600px; |
| 27 | + border: 1px solid var(--border); |
| 28 | + border-radius: 6px; |
| 29 | + padding: 24px; |
| 30 | + background: #161b22; |
| 31 | + } |
| 32 | + h2 { font-size: 16px; margin-top: 0; border-bottom: 1px solid var(--border); padding-bottom: 10px; } |
| 33 | + input { |
| 34 | + width: 100%; |
| 35 | + padding: 8px 12px; |
| 36 | + background: var(--bg); |
| 37 | + border: 1px solid var(--border); |
| 38 | + border-radius: 6px; |
| 39 | + color: white; |
| 40 | + box-sizing: border-box; |
| 41 | + margin-bottom: 12px; |
| 42 | + outline: none; |
| 43 | + } |
| 44 | + input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(56, 139, 253, 0.3); } |
| 45 | + button { |
| 46 | + background: #21262d; |
| 47 | + color: #c9d1d9; |
| 48 | + border: 1px solid var(--border); |
| 49 | + padding: 5px 16px; |
| 50 | + font-size: 14px; |
| 51 | + border-radius: 6px; |
| 52 | + cursor: pointer; |
| 53 | + } |
| 54 | + button:hover { background: #30363d; border-color: #8b949e; } |
| 55 | + #output { |
| 56 | + margin-top: 20px; |
| 57 | + padding: 12px; |
| 58 | + border-radius: 6px; |
| 59 | + background: var(--bg); |
| 60 | + border: 1px solid var(--border); |
| 61 | + display: none; |
| 62 | + word-break: break-all; |
| 63 | + font-size: 13px; |
| 64 | + } |
| 65 | + .proxy-tag { font-size: 10px; color: #8b949e; margin-top: 15px; } |
| 66 | + </style> |
| 67 | +</head> |
| 68 | +<body> |
1 | 69 |
|
| 70 | +<div class="container"> |
| 71 | + <h2>Link Bypasser</h2> |
| 72 | + <input type="text" id="targetLink" placeholder="Paste link (Linkvertise, etc.)"> |
| 73 | + <button onclick="handleBypass()">Run Bypass</button> |
| 74 | + |
| 75 | + <div id="output"> |
| 76 | + <div id="status" style="margin-bottom: 8px; color: var(--accent);">[WAITING]</div> |
| 77 | + <div id="resultText"></div> |
| 78 | + </div> |
| 79 | + |
| 80 | + <div class="proxy-tag"> |
| 81 | + NETWORK: <span style="color: var(--success);">CORS_PROXY_ACTIVE</span> | ENGINE: adbypass.org |
| 82 | + </div> |
| 83 | +</div> |
| 84 | + |
| 85 | +<script> |
| 86 | +async function handleBypass() { |
| 87 | + const linkInput = document.getElementById('targetLink').value; |
| 88 | + const outputDiv = document.getElementById('output'); |
| 89 | + const statusText = document.getElementById('status'); |
| 90 | + const resultText = document.getElementById('resultText'); |
| 91 | + |
| 92 | + if (!linkInput) return; |
| 93 | + |
| 94 | + outputDiv.style.display = "block"; |
| 95 | + statusText.innerText = "[PROCESSING]"; |
| 96 | + statusText.style.color = "var(--accent)"; |
| 97 | + resultText.innerText = ""; |
| 98 | + |
| 99 | + // The API URL from the adbypass.org engine |
| 100 | + const targetApi = `https://api2.adbypass.org/bypass?url=${encodeURIComponent(linkInput)}`; |
| 101 | + |
| 102 | + // The CORS proxy wrapper |
| 103 | + const proxiedUrl = `https://corsproxy.io/?url=${encodeURIComponent(targetApi)}`; |
| 104 | + |
| 105 | + try { |
| 106 | + const response = await fetch(proxiedUrl); |
| 107 | + const data = await response.json(); |
| 108 | + |
| 109 | + if (data.status === "success" && data.destination) { |
| 110 | + statusText.innerText = "[SUCCESS]"; |
| 111 | + statusText.style.color = "var(--success)"; |
| 112 | + resultText.innerHTML = `<a href="${data.destination}" target="_blank" style="color: var(--accent); text-decoration: none;">${data.destination}</a>`; |
| 113 | + } else { |
| 114 | + statusText.innerText = "[ERROR]"; |
| 115 | + statusText.style.color = "#f85149"; |
| 116 | + resultText.innerText = data.message || "Link not supported."; |
| 117 | + } |
| 118 | + } catch (error) { |
| 119 | + statusText.innerText = "[FATAL_ERROR]"; |
| 120 | + statusText.style.color = "#f85149"; |
| 121 | + resultText.innerText = "Check console for details."; |
| 122 | + console.error("Fetch failed:", error); |
| 123 | + } |
| 124 | +} |
| 125 | +</script> |
| 126 | + |
| 127 | +</body> |
| 128 | +</html> |
0 commit comments