From MozillaZine Knowledge Base
Jump to navigationJump to search
|
|
(16 intermediate revisions by 4 users not shown) |
Line 1: |
Line 1: |
| {{extdev}}
| | :''This page has been moved to [[:Category:Example code]]. Please update your bookmarks.'' |
|
| |
|
| ==XUL==
| | [[Category:Obsolete]] |
| *[[Dev : Extensions : Example Code : Adding items to menus | Adding items to menus with overlays]] (talks about browser's context menu too)
| |
| *[[Dev : Extensions : Example Code : Dialogs | Dialogs in Mozilla]]
| |
| | |
| ==Javascript==
| |
| ===Commonly used techniques===
| |
| *[http://xulplanet.com/ XulPlanet] has an [http://www.xulplanet.com/tutorials/xulqa/q_prefs.html article on preferences]
| |
| *[[Dev : Extensions : Example Code : Printing to JSConsole | Printing debug information to JavaScript Console]]
| |
| | |
| ===XPCOM===
| |
| *[[Dev : Extensions : Example Code : File IO | Performing file IO]]
| |
| *[[Dev : Extensions : Example Code : Using observers | Using observers]] for cross-window notifications
| |
| *[[Dev : Extensions : Example Code : Run programs | Running other applications]]
| |
| *[[Dev : nsIFilePicker | Using file choosers]] (Open, Save, Select Directory dialogs)
| |
| | |
| ===<browser> related===
| |
| *[[Dev : Extensions : Example Code : Progress Listeners | Using progress listeners]]
| |
| *[[Dev : Extensions : Example Code : On Tab Load | Executing your code each time a page loads]]
| |
| *[[Dev : Extensions : Example Code : Enumerating tabbrowser tabs|Enumerating tabbrowser tabs]]
| |
| *[[Dev : Extensions : Example Code : Opening a new browser window|Opening a new browser window]]
| |
| | |
| ===Other===
| |
| *[[Dev : Extensions : Example Code : Inserting text at cursor | Inserting text at cursor]]
| |
| *[[Dev : Extensions : Example Code : Using XMLHttpRequest | Using XMLHttpRequest]]
| |
| | |
| ===Techniques===
| |
| * [[Differential Inheritance]] in JavaScript using <tt>__proto__</tt>
| |
| | |
| [[Category:Development]] | |
Latest revision as of 15:04, 7 October 2005