Source : DocumentationThe 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.
The following is an example of the program code
<script>// navigator.getContacts
if ("contacts" in navigator && "ContactsManager" in window) {
document.getElementById("get-contacts").innerHTML = "Support";
} else {
document.getElementById("get-contacts").innerHTML = "No Support";
}
// [open-source] : location:github.com/tamddk/library/tree/main/getContacts
</script>