Changes

Jump to: navigation, search

Mobile/Fennec/Extensions/BestPractices

59 bytes added, 20:19, 23 May 2009
no edit summary
* Use Alerts to notify the user that some event has happened.
* nsIPromptService and nsIAlertsService are overridden in Fennec. Use them the same way you would for Firefox.
* Avoid <code>window.open</code> and <code>window.openDialog</code> for displaying dialogs. Instead, use boxes in the main browser stack to display your dialog as a panel .** (TODO: Add sample and tutorial).* (TODO: Add API to make showing dialog "panels" easy)
== Do Not Use Context Menus ==
Canmove, confirm, emeritus
2,798
edits

Navigation menu