GrowlSafariBridge enables arbitrary javascript (including Safari Extensions) to notify via Growl.
C Objective-C Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
English.lproj Update copyright and company info Apr 7, 2011
Frameworks/Growl.framework
GrowlSafariBridge.xcodeproj
Tools
.gitignore
GrowlSafariBridgeView.h
GrowlSafariBridgeView.m
GrowlSafariBridge_Prefix.pch
Info.plist Bump version number to 1.0.1 Apr 7, 2011
LICENSE Add LICENSE Apr 18, 2011
README.md
Test.html notifyWithOptions() is added back Apr 7, 2011

README.md

GrowlSafariBridge

GrowlSafariBridge enables arbitrary javascript (including Safari Extensions) to notify via Growl.

INSTALL

Download GrowlSafariBridge.webplugin from https://github.com/uasi/growl-safari-bridge/downloads and copy it to ~/Library/Internet Plug-Ins/.

USAGE

// Load GrowlSafariBridge plug-in
document.write('<object type="application/x-growl-safari-bridge" width="0" height="0" id="growl-safari-bridge"></object>');

// Get the element
window.GrowlSafariBridge = document.getElementById('growl-safari-bridge');

// Check if the plug-in is available
if (GrowlSafariBridge.notify !== undefined) {
  // Notify
  GrowlSafariBridge.notify('Title', 'Description');
  GrowlSafariBridge.notify('Title only', undefined, {isSticky: 1, priority: 1, imageUrl: 'http://www.example.com/example.jpg'})
}