How can I configure desktop notification display time in Google Chrome?

17

5

Recently Gmail introduced an HTML5-based desktop notification feature for Google Chrome users (see this). It's very useful, however, the notifications disappear too quickly (in about 5 seconds) and I couldn't find a way to change the display time. Ideally, I would like the notification to stay for a few minutes if there is no user activity (or about 15 seconds if there is user activity). Is that possible?

Desktop Notification

netvope

Posted 2011-01-28T00:27:25.780

Reputation: 4 505

Answers

11

Tip: in your Gmail settings choose "Mail notifications off".

Instead, install the Chrome extension Mail Checker Plus for Google Mail which gives you the option to set 'show time' for notifications.

Also, this extension shows more elaborate notifications, has a "Sound notifications" option, and a few other interesting settings.

Peel

Posted 2011-01-28T00:27:25.780

Reputation: 111

5

Apparently not (well, not yet anyway):

From the "Learn more" link:

  1. Click the Settings link in the upper-right corner of Gmail.
  2. On the General tab, select the option you'd like in the Desktop Notifications section. You'll be able to turn Chat notifications on or off, and can also choose to turn email notifications off, receive notifications for all incoming email, or only those Gmail marks 'important'.
  3. Click Save.

And then on the Settings page on my Gmail account, I don't see anything about time to display. It's just this:

  • New mail notifications on - Notify me when any new message arrives in my inbox
  • Important mail notifications on - Notify me only when an important message arrives in my inbox
  • Mail notifications off

user3463

Posted 2011-01-28T00:27:25.780

Reputation:

1Yea, that's what I found too. Hopefully they'll improve this in the next release. Thanks. (BTW, it looks like Chrome 9 has already been delayed by 1/3 of a development cycle...) – netvope – 2011-01-28T01:52:23.627

Taught me something new. I like Google's release early, release often cycles. It means we can expect new features with each release. – None – 2011-01-28T03:00:47.760

1Well, it's a year and a half later and I still can't find a way of controlling the timing of notifications. They're so fleeting that they're next to useless right now. Frustrating. – Charles Roper – 2012-06-27T13:28:44.607

5

I found that the webkit desktop notification API call Notification.show() displays the notification indefinitely. Gmail probably have done something like using setTimeout() with Notification.close() to hide the notification after a few seconds. So, it is impossible to configure Chrome to prolong the notification display time.

netvope

Posted 2011-01-28T00:27:25.780

Reputation: 4 505

1

When the notification appears, there is a setting icon in the box that allows you to set what corner the notification will appear in and for how long. When opening Chrome or Gmail in Chrome be ready to click it before it disappears.

user184754

Posted 2011-01-28T00:27:25.780

Reputation: 11

2This will take you to the list of applications that can be allowed or blocked to send you notifications, nothing else. May be this information is outdated. – nightcod3r – 2017-04-21T12:03:03.620