Archive > Desktop Applications :: General

Using a Fluid SSB as a native client [mac]

(1/1)

drifteaur:
Here's a way you can get decent chat notifications on a Mac:

1. Download Fluid - it can create a seperate browser app just for your Mibew site. You'll need to buy the full version for the userscripts support (it's only $5):

http://fluidapp.com/

2. Create a browser for your site. You can use the attached icon to make it pretty.

3. Add the following userscript, it will create a badge, play a sound and send a Growl notification on new chats:

--- Code: ---window.fluid.dockBadge = '';
setTimeout(updateDockBadge, 1000);
setTimeout(updateDockBadge, 3000);
setInterval(updateDockBadge, 5000);

var waiting_old = 0;

function updateDockBadge() {
var waiting_new = document.getElementsByClassName("inwait").length;
if (waiting_new > waiting_old) {
window.fluid.showGrowlNotification({
    title: "New WebIM Chat",
    description: "Please check your WebIM client",
    priority: 1,
    sticky: false,
    identifier: "webimchat"
});
window.fluid.playSound("Purr");
window.fluid.dockBadge = waiting_new;
}
waiting_old = waiting_new;

}

--- End code ---

For further options see:

http://fluidapp.com/developer/

Navigation

[0] Message Index

Go to full version