I believe firefox extensions are basically zipped archives. You should be able to unzip the extension (.xpi) using your zip archive manager. Once you do that you should able to see all files associated with the extension and should be able to edit them and or replace them.