This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Wannan tattunawa ta zama daɗaɗɗiya. Yi sabuwar tambaya idan ka na bukatar taimako.

How to redefine function in nsLoginManager.js inside omni.jar

  • 3 amsoshi
  • 4 sa na da wannan matsala
  • 5 views
  • Amsa ta ƙarshe daga cor-el

more options

I would like to redefine a function. I find the definition inside omni.jar in the file nsLoginManager.js. If I rename omni.jar to omni.zip, I can see the contents, but if I try to drag an updated nsLoginManager.js to the archive, Windows 7 complains the archive is corrupt. I tried putting an extra copy of nsLoginManager.js into the components directory, but it did not override the other definition.

How can I edit omni.jar to include my new nsLoginManager.js with my updated funtion?

I would like to redefine a function. I find the definition inside omni.jar in the file nsLoginManager.js. If I rename omni.jar to omni.zip, I can see the contents, but if I try to drag an updated nsLoginManager.js to the archive, Windows 7 complains the archive is corrupt. I tried putting an extra copy of nsLoginManager.js into the components directory, but it did not override the other definition. How can I edit omni.jar to include my new nsLoginManager.js with my updated funtion?

Mafitar da aka zaɓa

All Replies (3)

more options
more options

Yes, I have successfully extracted the contents already by that exact method. However, I fail when trying to update the modified file in the omni.jar as Windows 7 complains the archive is corrupt. Alternatively, if I make a new .zip for all the files including my modifications, Firefox fails to launch.

The format of the omni.jar is not standard, how can I modify it?

more options

Zaɓi Mafita

You can look at /questions/799489