Navigator.contacts
Draft: This page is not complete.
The contacts
read-only property of the Navigator
interface returns a ContactsManager
interface which allows users to select entries from their contact list and share limited details of the selected entries with a website or application.
Syntax
var contactsManager = navigator.contacts;
Return Value
ContactsManager
Examples
The following code checks whether the Contact Picker API is supported.
const supported = ('contacts' in navigator && 'ContactsManager' in window);
Specifications
Specification |
---|
Contact Picker API # dom-navigator-contacts |
Browser compatibility
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
contacts |
No |
No |
No |
No |
No |
No |
80 |
80 |
No |
57 |
No |
13.0 |
See also
© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/Navigator/contacts