The Notification interface of the Notifications API is used to configure and display desktop notifications to the user.

These notifications' appearance and specific functionality vary across platforms but generally they provide a way to asynchronously provide information to the user.

Source : Documentation
Info
Warning alert!, Not all devices or browsers are fully supported.

The following is an example of the program code

<script>// Notification.requestPermission()

if ("Notification" in window) {
  Notification.requestPermission();
}

// [open-source] : location:github.com/tamddk/library/tree/main/getNotification
</script>