#492 - Instant personal alerts
0 guests and 0 members have recently viewed this.
The top 3 point earners from 14th Dec 2025 to 21st Dec 2025.
| PDStig |
|
|
|---|---|---|
| Gabri |
|
|
| sholzy |
|
|
There are no events at this time
http://caniuse.com/notifications
http://jsfiddle.net/dandv/wT26x/1/
https://github.com/ttsvetko/HTML5-Desktop-Notifications
Also merge with the feature where a support ticket plays a sound - just absorb the sound code, and drop the old polling code.
(Chrome won't play notification sounds right now)
Works like this...
A member may choose to turn on desktop notifications for various things. Many are on by default.
If a member has some, the member's browser regularly polls for notifications.
All notifications sent that apply as a desktop notification are logged into a database table.
If they aren't too old then they pipe to the browser.
We use a modified version of "HTML5-Desktop-Notifications" to play them.