Changes

Jump to: navigation, search

Mobile/Fennec/Extensions/BestPractices

2 bytes added, 00:36, 11 December 2010
Use Fewer Dialogs and Popups
* 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 See [[/Mobile/Fennec/Extensions/Dialogs-Prompts-Alerts | more info]] on dialogs and tutorial)prompts.** (TODO: Add API to make showing dialog "panels" easy)
== Blend In ==
Canmove, confirm, emeritus
2,798
edits

Navigation menu