Is there a way to reset Firefox with command line switches?
I'm trying to create a package for distributing 7 extensions. I used CCK to create defaults/prefs and distribution/extensions folder containing the prefs .js file and the 7 .xip files. The package does what I have coded with no issues but Firefox isn't enabling any of the extensions.
I have found that if I reset Firefox the extensions are enabled after Firefox restarts, so I'm wondering if there is a way to reset Firefox through command line. Something like firefox.exe -reset or firefox.exe -safe-mode -reset so I don't have to migrate all the profiles...
Please help?
所有回覆 (4)
Hello Manuel_B, sorry but you cannot reset (refresh) firefox from command line.
thank you
Thanks for the reply ideato. Those are bad news... Could you provide detailed instructions on how to reset Firefox manually so I can write a script to do so?
Click the 3-bar menu button, click help (the question mark), select Troubleshooting Information and in the open about:support page click the Refresh Firefox button.
Or click the clickable button in the next link : https://support.mozilla.org/en-US/kb/refresh-firefox-reset-add-ons-and-settings#w_refresh-firefox
Really i don't known if that helps, for the reason you want in mean !!!
thanks again
See also:
- resource://gre/modules/ResetProfile.jsm
- http://mxr.mozilla.org/mozilla-release/source/toolkit/modules/ResetProfile.jsm