| <!DOCTYPE html> |
| <html lang="en"> |
| <head> |
| <meta charset="UTF-8" /> |
| <meta name="viewport" content="width=device-width, initial-scale=1" /> |
| <title>Suntik View TikTok</title> |
| <style> |
| html, body { |
| height: 100%; |
| margin: 0; |
| background: linear-gradient(135deg, #e0eafc, #cfdef3); |
| display: flex; |
| justify-content: center; |
| align-items: center; |
| font-family: 'Segoe UI', sans-serif; |
| } |
| |
| .card { |
| background: #fff; |
| padding: 24px; |
| border-radius: 12px; |
| box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); |
| width: 300px; |
| display: flex; |
| flex-direction: column; |
| gap: 14px; |
| } |
| |
| .title { |
| text-align: center; |
| font-size: 18px; |
| font-weight: bold; |
| color: #333; |
| } |
| |
| .input { |
| padding: 10px; |
| border: 1px solid #ccc; |
| border-radius: 8px; |
| font-size: 14px; |
| } |
| |
| .send { |
| padding: 10px; |
| background: #0ea5e9; |
| border: none; |
| border-radius: 8px; |
| color: white; |
| font-weight: bold; |
| font-size: 15px; |
| cursor: pointer; |
| transition: transform 0.2s ease; |
| } |
| |
| .send:active { |
| background: #0284c7; |
| transform: scale(1.05); |
| } |
| </style> |
| </head> |
| <body> |
| <div class="card"> |
| <div class="title">Suntik View TikTok</div> |
| <input class="input" type="text" placeholder="Link video TikTok" id="link" /> |
| <input class="input" type="number" placeholder="Jumlah view" id="jumlah" min="1" /> |
| <button class="send" onclick="sendView()">Send View</button> |
| </div> |
|
|
| <script> |
| function sendView() { |
| const link = document.getElementById('link').value.trim(); |
| const jumlah = parseInt(document.getElementById('jumlah').value.trim()); |
| |
| if (!link || isNaN(jumlah)) { |
| alert('Isi link dan jumlah view dulu ya Cici π€π'); |
| return; |
| } |
| |
| fetch('/inject', { |
| method: 'POST', |
| headers: { 'Content-Type': 'application/json' }, |
| body: JSON.stringify({ link, jumlah }) |
| }) |
| .then(res => res.json()) |
| .then(data => { |
| alert('Sukses kirim ' + data.sent + ' view! π'); |
| }); |
| } |
| </script> |
| </body> |
| </html> |