Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. Web APIs
  3. Navigator
  4. contacts

Navigator: contacts property

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Experimental:This is anexperimental technology
Check theBrowser compatibility table carefully before using this in production.

Secure context: This feature is available only insecure contexts (HTTPS), in some or allsupporting browsers.

Thecontacts read-only property of theNavigator interface returns aContactsManager interfacewhich allows users to select entries from their contact list and share limited detailsof the selected entries with a website or application.

Value

AContactsManager object. Two successive calls return the same object.

Examples

The following code checks whether the Contact Picker API is supported.

js
const supported = "contacts" in navigator && "ContactsManager" in window;

Specifications

Specification
Contact Picker API
# dom-navigator-contacts

Browser compatibility

See also

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2026 Movatter.jp