Time for action - creating a basic add-on
In this section of the chapter, we are going to have a look at how we can make a basic add-on. The following steps can also be used to create a normal Firefox add-on.
Firstly, you will need to create a folder on your hard drive. I have called mine
Book. Everything that follows will be done within that folder.
- Open your favorite text editor.
- Create a file called
install.rdfand add the following snippet. This file tells Mozilla Firefox what is needed to install this add-on.
<?xml version="1.0" encoding="UTF-8"?> <RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:em="http://www.mozilla.org/2004/em-rdf#"> <Description about="urn:mozilla:install-manifest"> <!-- needs to be in the format of an email ...