Category:Example code
From MozillaZine Knowledge Base
- Up to Category:Development
Articles in this category demonstrate the code to do certain things in Mozilla-based products (at this moment, mostly for use in extensions).
XUL
- Creating toolbar buttons
- Adding items to menus using overlays (talks about browser's context menu too)
- Creating dialog windows with XUL
Javascript
Commonly used techniques
- Using preferences. For the basics, see also the article on XulPlanet.
- How to log debug information to JavaScript Console.
- Javascript Preferences Class
XPCOM
- Performing file IO
- Using observers for cross-window notifications
- Running applications
- Using file choosers (Open, Save, Select Directory dialogs)
XML Technologies in Mozilla
- How To Create DOM Trees
- Using XMLHttpRequest
- Parsing and serializing XML
- Using XPath
- XSL Transforms
- XLink
Other
Techniques
- Differential inheritance in JavaScript using
__proto__
The alphabetical list of all articles and subcategories in this category follows.
Pages in category "Example code"
The following 8 pages are in this category, out of 8 total.