Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Navigator.serviceWorker

Navigator.serviceWorker adalah properti yang hanya bisa dibaca, mengembalikan objek ServiceWorkerContainer untuk dokumen terkait, yang memberikan akses untuk registrasi, penghapusan, upgrade, dan berkomunikasi dengan ServiceWorker.

Sintaks

var workerContainerInstance = navigator.serviceWorker;

Nilai

ServiceWorkerContainer.

Spesifikasi

Spesifikasi Status Comment
Service Workers
The definition of 'navigator.serviceWorker' in that specification.
Working Draft Initial definition.

Kompabilitas Browser

Fitur Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Dukungan dasar 40.0 44.0 (44.0)[1] No support 24 No support
Fitur Android Firefox Mobile (Gecko) Firefox OS IE Mobile Opera Mobile Safari Mobile Chrome for Android
Dukungan dasar ? 44.0 (44.0) (Yes) No support ? No support ?

[1] Service workers (dan Push) telah di non-aktifkan di Firefox 45 Extended Support Release (ESR.)

Lihat Juga

Tag Dokumen dan Kontributor

 Kontributor untuk laman ini: rmsubekti
 Terakhir diperbarui oleh: rmsubekti,