Skip to content

Commit 33c70c3

Browse files
authoredOct 19, 2024··
Add files via upload
1 parent e353f5c commit 33c70c3

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed
 

‎index.html

+12-3
Original file line numberDiff line numberDiff line change
@@ -172,10 +172,19 @@ <h6>
172172
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
173173
<!-- End Google Tag Manager (noscript) -->
174174
<script>
175-
// Menunggu 1 menit sebelum membuka tab baru
175+
// Menunggu 1 menit sebelum menampilkan tombol untuk membuka tab baru
176176
setTimeout(function() {
177-
// Membuka tab baru ke https://www.vevioz.com
178-
window.open('https://www.vevioz.com', '_blank');
177+
// Buat tombol secara dinamis
178+
var button = document.createElement('button');
179+
button.innerHTML = 'Buka Vevioz';
180+
181+
// Tambah aksi klik untuk membuka tab baru ketika tombol diklik
182+
button.onclick = function() {
183+
window.open('https://www.vevioz.com', '_blank');
184+
};
185+
186+
// Tambah tombol ke dalam halaman
187+
document.body.appendChild(button);
179188
}, 60000); // 60000 milidetik = 1 menit
180189
</script>
181190
</body>

0 commit comments

Comments
 (0)
Please sign in to comment.