File tree 1 file changed +12
-3
lines changed
1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -172,10 +172,19 @@ <h6>
172
172
height ="0 " width ="0 " style ="display:none;visibility:hidden "> </ iframe > </ noscript >
173
173
<!-- End Google Tag Manager (noscript) -->
174
174
< script >
175
- // Menunggu 1 menit sebelum membuka tab baru
175
+ // Menunggu 1 menit sebelum menampilkan tombol untuk membuka tab baru
176
176
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 ) ;
179
188
} , 60000 ) ; // 60000 milidetik = 1 menit
180
189
</ script >
181
190
</ body >
You can’t perform that action at this time.
0 commit comments