Somewhere in the desktop notifications you can read:
"You create the notification window using a bit of JavaScript and,
optionally, an HTML page packaged inside your extension."
And below, in the API section you will be able to see:
The desktop notification API for extensions is the same one that is
available to normal web pages. As the following code shows, you first
create either a simple text notification or an HTML notification, and
then you show the notification.
----------------------------------------------------------------------------------------------------------------
// Create a simple text notification:
var notification = webkitNotifications.createNotification(
'48.png', // icon url - can be relative
'Hello!', // notification title
'Lorem ipsum...' // notification body text
);
// Or create an HTML notification:
var notification = webkitNotifications.createHTMLNotification(
'notification.html' // html url - can be relative
);
// Then show the notification.
notification.show();
----------------------------------------------------------------------------------------------------------------
I was wondering the same like 2 day ago haha so I had the answer
already ;)
> > >
http://groups.google.com/a/chromium.org/group/chromium-extensions/?hl...Hide quoted text -