how to get source code of an addon?

Talk about add-ons and extension development.
Post Reply
anirrr
Posts: 89
Joined: July 18th, 2011, 1:58 am

how to get source code of an addon?

Post by anirrr »

instead of installing an addon, how to you download the
source code or xpi code for an addon? I have been
told you can get the source code of a xpi
by unpacking it.
Thank you.
morat
Posts: 6404
Joined: February 3rd, 2009, 6:29 pm

Re: how to get source code of an addon?

Post by morat »

Instructions:

* open AMO page in current tab
* right click "Add to Firefox" or "Install Theme" or "Remove" button
* or right click "Download file" link when using another browser like Chrome
* click "Save Links As" menu item
* rename file extension from .xpi to .zip
* unpack .zip file

How to Unzip Files in Linux
http://linuxize.com/post/how-to-unzip-files-in-linux/

Sometimes the developer releases the source code on the homepage or support site.

uBlock Origin
http://addons.mozilla.org/firefox/addon/607454
http://github.com/gorhill/uBlock

Photon Blue over System Theme
http://addons.mozilla.org/firefox/addon/2726909
http://github.com/jscher2000/Photon-Blu ... or-Firefox
Post Reply