Go to the download site and right click on the download button for the add-on and select save file as. Once you have downloaded the xpi file change the extention to zip.

Now you can unpack the archive to view the source files of the add-on.