Showing posts with label extension. Show all posts
Showing posts with label extension. Show all posts

Wednesday, 20 July 2011

How to make a Firefox add-on tutorial:extension development:Advanced Topics

Video:
Stupid/Awesome Extension Development Hacks
In this video, Jono Xia explains how to go further in extension development using XPCOM, overlays, XHRs, DOM manipulation, etc. in order to make Firefox do things you might have never thought possible.

JavaScript Code Modules
JavaScript code modules let multiple privileged JavaScript scopes share code. For example, a module could be used by Firefox itself as well as by extensions, in order to avoid code duplication.

Creating Custom Firefox Extensions with the Mozilla Build System
This article describes how to set up the development environment for a large, complex Firefox extension with a need for high-performance, use of third-party libraries in C/C++, or interfaces not exposed via XPCOM.

Multiple Item Packaging
This article explains how to create an extension package with multiple items "extensions".

Extension Documentation Index
If you can't find what you're looking for in the above articles, try the Mozilla Developer Center's Extensions landing page.













Tuesday, 12 July 2011

Firefox extension development tutorials : Localization

Once you know the basics, these guides will help you with intermediate to advanced extension development topics. 

Learn how to localize the names and descriptions in extension install manifests.  


Localization and Plurals
This article explains how to properly localize strings with plurals. 

BabelZilla overview
Learn how the BabelZilla localization community works.


Web Hosting




Monday, 11 July 2011

Extension Development:Best Practices

Once you know the basics, these guides will help you with intermediate to advanced extension development topics.

Respecting the JavaScript Global Namespace
In this blog post, Mark Ziesemer explains how to prevevent global namespace pollution by wrapping your extension's variables.

Security Best Practices in Extensions
Every extension developer should know and follow the security best practices outlined in this document to keep users safe.

Localizing an Extension
This article explains how to localize an extension, including XUL and JavaScript string

Responsible First-run Usage
This blog post describes what a bad first-run experience means for users, and gives tips for improving that experience.



Web Hosting



Extension development tutorials:Books

Build Your Own Firefox Extension E-book
With a little JavaScript know-how, author James Edwards will show you just how straightforward it is to build your own Firefox extensions.

Web Hosting



Extension development tutorials:Other tutorials

Learn the basics of developing an extension on the Mozilla platform with this section full of beginner's guides.


Firefox Add-ons Developer Guide

In this detailed guide to extension development, you'll learn the basics of packaging extensions, building an interface with XUL, implementing advanced processes with XPCOM, and how to put it all together.

How to Develop a Firefox Extension
In this walk-through, Robert Nyman explains how to develop a Firefox extension from scratch.

How to Build a Firefox Extension
Lifehacker gives tips and helpful hints on developing your first Firefox extension.

Firefox Extension Development Tutorial
A multi-page tutorial covering a variety of extension development topics.

Creating a Status Bar Extension
Learn how to create a simple status bar extension and add more advanced functionality in subsequent tutorials, linked below.

Creating a Dynamic Status Bar Extension
This article modifies the status bar extension created in the above tutorial by fetching content from a website at a regular interval.

Adding Preferences to an ExtensionThis article shows how to add preferences to the dynamic status bar created in the above tutorial.
This article shows how to add preferences to the dynamic status bar created in the above tutorial. 

Web Hosting



Extension development tutorials:Getting Started

Here are some useful links which can help you learn the basics of developing an extension on the Mozilla platform with this section full of beginner's guides.

XUL School Tutorial
This tutorial will guide you through all the basics of add-on development, teaching you how to package them, create a suitable development environment, and program the most common features found in add-ons. It includes working code samples and the references and tools to explore all topics more in depth.

Setting Up an Extension Development Environment
This article gives suggestions on how to set up your Mozilla application for extension development, including setting up a profile, changing preferences, and helpful development tools.

Extension Bootcamp: Zero to Hello World! in 45 Minutes
In this video tutorial, Myk Melez explains how extensions integrate into Firefox, what they can do, and shows you how to set up an environment to ease their development. He'll then walk you through the making of a simple "Hello World!" extension. By the end of this session, you'll be an extension developer.


This tutorial will take you through the steps required to build a very basic extension - one which adds a status bar panel to the Firefox browser containing the text "Hello, World!"

Extension Packaging
Learn more details on how extensions are packaged and installed.

Install Manifests
This document explains install manifests "install.rdf" and all of properties available for use in your add-on.

I'll post more links which you might find useful soon. : )

Web Hosting