fast72 commited on
Commit
958f813
·
verified ·
1 Parent(s): 54fb15a

Update p/index.html

Browse files
Files changed (1) hide show
  1. p/index.html +59 -47
p/index.html CHANGED
@@ -1,8 +1,8 @@
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>Link2Unlock Bypass</title>
7
  <style>
8
  * {
@@ -12,53 +12,57 @@
12
  }
13
 
14
  body {
15
- font-family: 'Arial', sans-serif;
16
- background-color: #121212;
17
  color: #fff;
 
18
  display: flex;
19
- justify-content: center;
20
  align-items: center;
 
21
  height: 100vh;
22
- animation: fadeIn 1s ease-in;
23
  }
24
 
25
- .container {
 
 
 
 
 
 
26
  text-align: center;
27
- padding: 20px;
28
- border-radius: 10px;
29
- background-color: #1a1a1a;
30
- box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
31
  }
32
 
33
  h1 {
34
  font-size: 2rem;
35
  margin-bottom: 20px;
 
36
  }
37
 
38
  input {
39
- padding: 10px;
 
40
  font-size: 1rem;
41
- width: 80%;
42
- border: none;
43
- border-radius: 5px;
44
- margin-bottom: 10px;
45
- background-color: #333;
46
  color: #fff;
 
 
 
47
  }
48
 
49
  button {
50
- padding: 10px 20px;
51
- font-size: 1rem;
 
 
52
  border: none;
53
- border-radius: 5px;
54
- background-color: #6200ea;
55
- color: #fff;
56
  cursor: pointer;
57
- transition: background-color 0.3s;
58
  }
59
 
60
  button:hover {
61
- background-color: #3700b3;
62
  }
63
 
64
  .result {
@@ -67,21 +71,35 @@
67
  display: none;
68
  }
69
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
70
  @keyframes fadeIn {
71
- from {
72
- opacity: 0;
73
- }
74
- to {
75
- opacity: 1;
76
- }
77
  }
78
  </style>
79
  </head>
80
  <body>
81
- <div class="container">
82
  <h1>Link2Unlock Bypass</h1>
83
  <form id="urlForm">
84
- <input type="text" id="urlInput" placeholder="Enter a link..." />
85
  <button type="submit">Bypass</button>
86
  </form>
87
  <div id="result" class="result"></div>
@@ -94,33 +112,27 @@
94
 
95
  form.addEventListener('submit', async (e) => {
96
  e.preventDefault();
97
- const url = urlInput.value;
98
 
99
- if (!/https:\/\/link2unlock\.com\/[a-zA-Z0-9]+/g.test(url)) {
100
- resultDiv.innerHTML = `<p style="color: red;">Invalid link</p>`;
101
- resultDiv.style.display = 'block';
 
 
102
  return;
103
  }
104
 
105
- resultDiv.innerHTML = `<p>Loading...</p>`;
106
- resultDiv.style.display = 'block';
107
-
108
  try {
109
  const res = await fetch(`/b?url=${encodeURIComponent(url)}`);
110
  const data = await res.json();
111
 
112
  if (data.success === false) {
113
- resultDiv.innerHTML = `<p style="color: red;">${data.error}</p>`;
114
  } else {
115
- const resultHtml = data.map(item => `
116
- <div>
117
- <a href="${item.url}" target="_blank">${item.name}</a>
118
- </div>
119
- `).join('');
120
- resultDiv.innerHTML = resultHtml;
121
  }
122
  } catch (err) {
123
- resultDiv.innerHTML = `<p style="color: red;">Something went wrong</p>`;
124
  }
125
  });
126
  </script>
 
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>Link2Unlock Bypass</title>
7
  <style>
8
  * {
 
12
  }
13
 
14
  body {
15
+ background: #000;
 
16
  color: #fff;
17
+ font-family: 'Inter', sans-serif;
18
  display: flex;
 
19
  align-items: center;
20
+ justify-content: center;
21
  height: 100vh;
22
+ animation: fadeIn 0.5s ease;
23
  }
24
 
25
+ .card {
26
+ background: #111;
27
+ padding: 40px;
28
+ border-radius: 16px;
29
+ box-shadow: 0 0 0 1px #222;
30
+ max-width: 500px;
31
+ width: 100%;
32
  text-align: center;
 
 
 
 
33
  }
34
 
35
  h1 {
36
  font-size: 2rem;
37
  margin-bottom: 20px;
38
+ letter-spacing: -1px;
39
  }
40
 
41
  input {
42
+ width: 100%;
43
+ padding: 12px 16px;
44
  font-size: 1rem;
45
+ background: #1a1a1a;
 
 
 
 
46
  color: #fff;
47
+ border: 1px solid #333;
48
+ border-radius: 8px;
49
+ margin-bottom: 12px;
50
  }
51
 
52
  button {
53
+ width: 100%;
54
+ padding: 12px;
55
+ background: #0070f3;
56
+ color: white;
57
  border: none;
58
+ border-radius: 8px;
59
+ font-weight: bold;
 
60
  cursor: pointer;
61
+ transition: 0.3s;
62
  }
63
 
64
  button:hover {
65
+ background: #0051c1;
66
  }
67
 
68
  .result {
 
71
  display: none;
72
  }
73
 
74
+ .result a {
75
+ color: #0070f3;
76
+ text-decoration: none;
77
+ display: block;
78
+ margin-bottom: 8px;
79
+ font-weight: 500;
80
+ transition: 0.3s;
81
+ }
82
+
83
+ .result a:hover {
84
+ color: #00b3ff;
85
+ }
86
+
87
+ .error {
88
+ color: red;
89
+ font-weight: bold;
90
+ }
91
+
92
  @keyframes fadeIn {
93
+ from { opacity: 0; transform: translateY(10px); }
94
+ to { opacity: 1; transform: translateY(0); }
 
 
 
 
95
  }
96
  </style>
97
  </head>
98
  <body>
99
+ <div class="card">
100
  <h1>Link2Unlock Bypass</h1>
101
  <form id="urlForm">
102
+ <input type="text" id="urlInput" placeholder="Paste your link here..." />
103
  <button type="submit">Bypass</button>
104
  </form>
105
  <div id="result" class="result"></div>
 
112
 
113
  form.addEventListener('submit', async (e) => {
114
  e.preventDefault();
115
+ const url = urlInput.value.trim();
116
 
117
+ resultDiv.style.display = 'block';
118
+ resultDiv.innerHTML = `<p>Loading...</p>`;
119
+
120
+ if (!/https:\/\/link2unlock\.com\/[a-zA-Z0-9]+/.test(url)) {
121
+ resultDiv.innerHTML = `<p class="error">Invalid link</p>`;
122
  return;
123
  }
124
 
 
 
 
125
  try {
126
  const res = await fetch(`/b?url=${encodeURIComponent(url)}`);
127
  const data = await res.json();
128
 
129
  if (data.success === false) {
130
+ resultDiv.innerHTML = `<p class="error">${data.error}</p>`;
131
  } else {
132
+ resultDiv.innerHTML = data.map(item => `<a href="${item.url}" target="_blank">${item.name}</a>`).join('');
 
 
 
 
 
133
  }
134
  } catch (err) {
135
+ resultDiv.innerHTML = `<p class="error">Something went wrong</p>`;
136
  }
137
  });
138
  </script>