File size: 2,182 Bytes
42ad2f4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!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>