Blog / TreeDBNotes / How to Create Firefox extensions with TreeDBNotes - Export Notes as Firefox Extension (.xpi)

How to Create Firefox extensions with TreeDBNotes - Export Notes as Firefox Extension (.xpi)

Now TreeDBNotes can export notes as Mozilla Firefox extension (.xpi file)! This possibility will be a good help for creating your own extensions for Mozilla Firefox. Also, this feature is useful for learning to write your own extensions. To create your extension is enough to create the necessary structure in the notes. And then call the export function. The program will create a file xpi. Which can be installed in firefox.

Structure of your Firefox extension as Notes in TreeDBNotes Notes manager (chrome, content, install files and xul files):

How to create Firefox extensions with TreeDBNotes - structure

 

Next step: Fill all files. For example content of sample_button.xul note. (light theme). This note will be exported as sample_button.xul file.

How to create Firefox extensions with TreeDBNotes - XUL file

 

Content of install.rdf note (dark theme). This note will be exported as install.rdf file.

How to create Firefox extensions with TreeDBNotes - Install.rdf file

 

Choose the root folder of your extension (MyStatusBarButton.xpi) and call "Export as Firefox Extension (.xpi)". TreeDBNotes will create all files and structure of your .xpi extension:

How to create Firefox extensions with TreeDBNotes

 

Install our MyStatusBarButton.xpi in the Mozilla Firefox:

How to create Firefox extensions with TreeDBNotes - manager

 

About box and icon for our extension:

How to create Firefox extensions with TreeDBNotes - about

 

This function will be availble in the next version of TreeDBNotes. Please wait...