If you're like me who uses Safari, and finds Gmail in browser most comfortable to use, you might want to enable notification from Gmail in Safari 6. Notification Center in Mountain Lion does support websites in Safari to send notifications, but by now Gmail does not ask for permission to send notifications. Fortunately Gmail uses html5 notification, which is supported in Safari 6. We can manually request permission from Safari for Gmail.
- Enable Develop menu. Safari->Preferences->Advanced: Check "Show Develop menu in menu bar".
- Open
mail.google.com
. - Develop->Show Web Inspector. The console will show at bottom. Paste in following command in the console and press Enter. [1]
window.webkitNotifications.requestPermission(function(){alert(window.webkitNotifications.checkPermission());})
- If the alert box shows
0
, it meansmail.google.com
successfully gets notification permission. Send yourself an email with a different email addre