Firefox extension manual

Documentation > Manuals > Firefox extension manual

What is a Firefox extension and what do this extension?

Firefox extension is a browser complement for Mozilla Firefox, which lets you add unique features to a number of needs that greatly benefit your browsing experience.

This Firefox extension allows you to add two items to the context menu of an image, and allows you to upload this picture to your image hosting or upload and resize it.

Files to edit

You only need to edit a few lines in a few files, we have specially prepared the files needed for the this process. All the necessary files to edit are in the folder "Firefox_ex/en".

Edit in install.rdf:

Edit in install.js:

Edit in chrome/content/godlikea

Edit in chrome/locale/en-US/godlikea/godlikea.dtd

Edit in chrome/content/godlikea/godlikeaOverlay.js (appears twice)

godlikea.jar

Go to the "chrome" folder and select "content" + "locale" folder and compress this folders in a .zip, then rename the zipped file to godlikea.jar. Now you cand delete both "content" and "locale" folders.

Making the .xpi

Go to the "Firefox_ex/en" folder and select the "chrome" folder along with the "install.js" and "install.rdf" files, then compress this into a .zip, now rename the .zip file to yourextension.xpi

Sharing the extension with your users

Just open the .xpi from firefox, if you offer the extension on the web, add the following rule in your .htaccess file:

Work to do

This manual and the base extension is very rustic and somewhat complicated to make by the number of steps to follow. We'd love to offer something simpler and faster (better handling of variables and languages), but for that we need people who are better with the creation of Firefox extensions. We leave the invitation ;)