x
File size: 3,151 Bytes
fa9f6c7
 
 
958f813
 
d8cffa8
fa9f6c7
 
 
 
 
 
 
 
958f813
fa9f6c7
958f813
fa9f6c7
 
958f813
fa9f6c7
958f813
fa9f6c7
 
958f813
 
 
 
 
 
 
fa9f6c7
 
 
 
 
 
958f813
fa9f6c7
 
 
958f813
 
fa9f6c7
958f813
fa9f6c7
958f813
 
 
fa9f6c7
 
 
958f813
 
 
 
fa9f6c7
958f813
 
fa9f6c7
958f813
fa9f6c7
 
 
958f813
fa9f6c7
 
 
 
 
 
 
 
958f813
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
fa9f6c7
958f813
 
fa9f6c7
 
 
 
958f813
d8cffa8
fa9f6c7
958f813
fa9f6c7
 
 
 
 
 
 
 
 
 
 
 
958f813
fa9f6c7
958f813
 
 
 
 
fa9f6c7
 
 
 
 
 
 
 
958f813
fa9f6c7
958f813
fa9f6c7
 
958f813
fa9f6c7
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<!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>