Question: how to edit xpi file?
Answer: Rename the Downloaded . xpi file extension to . zip file extension., Unzip the file., You will get all files of that addon. Make change what you want.