Unified Single Site Browser (SSB) support
- Tags
- Posted
- Wed 14 Jan, 2009
- Comments
- 0

In Rapid Fluid support I talked about adapting web applications for Fluid. Since Bubbles for Windows has a similar API I decided to write a wrapper around Fluid and Bubbles so you can support both SSBs in your web applications.
This wrapper is called ssbx, and is used like this:
if (SSBX.isAvailable()) {
SSBX.log('hello');
SSBX.notify({ message: 'This is a message', title: 'Title' });
SSBX.notifyOnce({ message: 'This is a message', title: 'Title', unique_id: 5});
SSBX.setDockBadge(5);
SSBX.log(SSBX.availableDriver);
}
You can also only run when there’s a compatible SSB available like this:
SSBX.run(function() {
SSBX.log('hello');
}
It’s still evolving, so add it to your watch list on GitHub if you’d like to stay up to date.