Labs/Apps/MyApps: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
'''myapps.mozillalabs.com''' is an HTML5 implementation of an Open Web App repository.  It is a client-side trusted collection of the manifests that the user has installed.
'''myapps.mozillalabs.com''' is an HTML5 implementation of an Open Web App repository.  It is a client-side trusted collection of the manifests that the user has installed.


App stores or specific applications can interact with the repository using cross-document messaging by including the Javascript from '''https://myapps.mozillalabs.com/jsapi/include.js''' and use the '''AppClient''' object that is exposed.  In the '''myapps.mozillalabs.com''' case, we expose four functions:
It is a prototype, intended for experimental use, and to foster discussion.  We do not propose that it would the ultimate repository for all users' applications.
 
App stores or specific applications can interact with the repository using cross-document messaging by including the Javascript from https://myapps.mozillalabs.com/jsapi/include.js and use the '''AppClient''' object that is exposed.  In the '''myapps.mozillalabs.com''' case, we expose four functions:


* '''install({ manifest: <manifest object> , [  authorization_url: <url> ], [ session: <session> ], [ signature: <sig> ], callback: <function> }):'''
* '''install({ manifest: <manifest object> , [  authorization_url: <url> ], [ session: <session> ], [ signature: <sig> ], callback: <function> }):'''
348

edits