As we all know FF have tons of useful addons and they are .xpi extension . I enjoy them too . Now I find a disadvantage one of my FF addon . I want to modify the .xpi file to make it a more perfect addon . Is it possible ? Do I have to learn to program to modify a .xpi addon ?
if you modify it,will it crash firefox itself,but I don't know,I don't think it can,but maybe someone who more expert can help you
Yes, you can modify it on Notepad as suggested by Big0ne. Modifying doesn't necessarily mean Firefox will crash! I did some tweaking and see no erratic behavior.
I try notepad++ to open the several .xpi addons, all of them are mess code . I guess .xpi can't be edit with notepad++ . Any more suggestions that really work.
I had to figure this out to modify an addon a while back, here goes: The .xpi is some form of compressed archive, I use 7-Zip, others might work as well. Neat feature of 7-Zip is right-click (menu key?), 7, t to test archive and compatability all from keyboard. I installed the addon before modifying (don't even want to recreate the install procedure, waste of time for my purposes). The addon folder should be in your profile path, take note when you install the addon then look for a folder matching that date/time (um, Alt+V, D in explorer, I only mention this because people actually use the other views, for some reason...). You might see folders in there following a few different naming conventions like: {12345678-1234-1234-1234-123456789012} or addon@name or addon@name.domain.foo Browse to chrome folder and un(zip?) the .jar file into a folder of the same name without jar extension (contents should be something like: content, locale, skin). So you have ./extensions/addonfolder/chrome/jarfilename/ (from your profile folder). Now edit the ./extensions/addonfolder/chrome.manifest file in Notepad++ (of course). Save the original file to a backup chrome.manifest-original or something Change the references of jar:chrome/jarfilename.jar!/ to chrome/jarfilename/ Now you can edit the CSS, JS, and other files in ./extensions/addonfolder/chrome/jarfilename/(content, locale, skin). You may need to reload the addon instance (close/open), or reload FF to see your mods or some other trick you'll discover while using... BTW I went through this process to hack up a way to edit ScrapBook captures with the XinhaHere! editor (both FF addons). Also, ScrapBook Copyinfo addon made it super easy to grab the file location to open in XinhaHere!. Peace and good luck!