Posts

Prsensi X

Sistem Presensi Berbasis Lokasi Pastikan GPS / Layanan Lokasi di HP Anda sudah aktif sebelum menekan tombol di bawah. Ambil Lokasi & Buka Form Absen "; // Buka Google Form dengan koordinat otomatis terisi window.location.href = idForm + koordinat; }, function(error) { status.innerHTML = "Gagal mengambil lokasi. Pastikan Anda mengizinkan (Allow) akses lokasi pada browser."; alert("Akses lokasi ditolak. Anda tidak bisa absen jika tidak mengaktifkan GPS."); }, { enableHighAccuracy: true, // Memaksa GPS mengambil akurasi tertinggi timeout: 10000 }); }