KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm using webkitNotifications and createHTMLNotification, etc. to successfully create a notification in Chrome (Windows). Now I would really like to have the notification window communicate back (or at least set the focus to) the tab/window that created the notification (which is part of the spec). I realize it's still in the early phases for this feature, but I thought maybe someone knows a way. I tried: window.opener.focus(); from the notification window, but it didn't work. This page... http://www.thecssninja.com/javascript/web-notifications says... "Bringing focus back to the window that called the notification, as stated in the proposal by using window.opener.focus(), doesn’t currently work ." I was hoping it was either out of date or that someone might know a workaround. Thanks for any information you can share. Jim
Tags (comma-separated)
Save Edits
Cancel