Hi! I'd like people to try out this plugin I made which uses the HTML5 Notifications API to display received chat messages as notifications.
One bug which I haven't been able to fix yet is that the first message in the history will be displayed when the chat window is opened or the page is opened with an open chat window.
Code
var notifiedWithinLast30 = false;
BBLog.handle("add.plugin", {
id: "notify-chat",
name: "Chat Desktop Notifications",
init: function(instance) {
// Let's check if the browser supports notifications
if (!("Notification" in window)) {
console.log("This browser does not support desktop notification");
}