Chrome automatically hides the notification. How long it stays on the screen depends on the priority attribute. Please note that everywhere except Chrome OS, the hidden notification effectively closes since the Notification Center has been deleted .
Itβs possible that a notification is displayed, but you have to resort to dirty tricks . If you do not want to do this in a difficult way, use Web Notifications instead - they will not be hidden.
Update: Both the chrome.notifications and web notification APIs now implement the requireInteraction boolean flag, which determines whether Chrome automatically disappears notifications automatically or not.
You can still manually close (that is, delete completely) the notification by calling chrome.notifications.clear() with the notification ID.
To plan something, you can either use DOM intervals or the chrome.alarms API .
source share