Firefox/Projects/Firefox Start: Difference between revisions

Jump to navigation Jump to search
Line 136: Line 136:
** yes![[User:Beltzner|Beltzner]] 07:03, 3 September 2010 (PDT)
** yes![[User:Beltzner|Beltzner]] 07:03, 3 September 2010 (PDT)


=== Snippet Presentation in Client ===
=== Dynamic Content Presentation in Client ===
The client will store the snippet content on the user's local disk (either as flat file or using appcache / offline storage?) and display it as part of the Firefox Start page in an iframe. The client will update the snippet asynchronously at most once per 24 hour period; any additional rotation/varying of the user facing content will need to be handled by the snippet itself.
The client will ship with JS in the Firefox Start page that checks for locally cached content in DOMStorage, and inject it into the page. If no content is found, default content will be injected (this content will ship with the browser and can be updated through a Firefox application update)  The JS will also retrieve new content from the delivery service, asynchronously, and store it in DOMStorage for subsequent use. Additional data parameters can be stored in DOMStorage such that the content can access it for additional dynamism without private data being sent over the wire.


* client will check mozilla hosted service at most once per day
* client will check mozilla hosted service at most once per day
* client will download JSON file from mozilla hosted service if update available
* client will download content from mozilla hosted service if update available
* client will unpack resources from JSON file and store locally
* client will store content in DOMStorage
* client will render locally stored content in iframe on Firefox Start page
* client will render locally stored content in iframe on Firefox Start page
* if no content exists, client will show "default content" that ships with browser
* client will store additional data in DOMStorage so content can access it (ie: number of add-ons installed)


== Testing  ==
== Testing  ==
Confirmed users, Bureaucrats and Sysops emeriti
3,599

edits

Navigation menu