Commit graph

1 commit

Author SHA1 Message Date
YuviPanda
d1b3f375c5 Implement notifications for queries and highlights
- Asks for permission when opening the app if it isn't already
  granted
- Highlights with a notification that stays for 2s
- Clicking on the notification brings that window/channel
  to focus
- Uses document.hasFocus() rather than document.hidden, since
  it seems to be more accurate when the tab is in focus
  but the window is not

Imlements issue #128
2014-09-13 23:51:10 +01:00