Jonathan.
Jonathan.

Reputation: 55604

Chrome web apps

Is it currently possible to create a chrome web app that can run in the background, even when the chrome process isn't running and pop up notifications to the users desktop? Say for an email app it gives notification when a new email arrives.

Upvotes: 0

Views: 172

Answers (3)

Dylan Kay
Dylan Kay

Reputation: 394

If you are looking for how to run scripts in the background just put this into your manifest file:

"app": {
    "background": {
        "scripts": ["background.js"]
    }
},

Upvotes: 0

Jan Kleinert
Jan Kleinert

Reputation: 1809

As of Chrome 10, it's possible to create installable web apps that do this (both for hosted apps as well as packaged apps). You can find documentation and sample code here.

Upvotes: 0

miguelSantirso
miguelSantirso

Reputation: 1253

That sounds more like an extension... There are already extensions doing exactly that!

Upvotes: 2

Related Questions