Rated 4 out of 5 stars


Thanks for this simple but useful add-on :-)

Here is my "Clean and Restart" alternative:

cleanAndRestartApp: function() {
const XRE = Components.classes["@mozilla.org/xre/app-info;1"].getService(Components.interfaces.nsIXULRuntime);
if(typeof XRE.invalidateCachesOnRestart == 'function') {
} else {
const files = ['compreg.dat','xpti.dat','extensions.cache','extensions.ini','extensions.rdf'];

for each(var name in files) {
var file = Components.classes["@mozilla.org/file/directory_service;1"]
.get("ProfD", Components.interfaces.nsIFile);

if(file.exists()) {

// Restart

Rated 5 out of 5 stars

Thanks for creating this add-on. It is a great example of filling a gap in, IMO, essential missing housekeeping functionality.

Adding Thunderbird compatibility would be appreciated.

I have a very large profile. It simply isn't possible to prevent "stuff" from happening . Adequate maintenance instrumentation and tools are doable, Over reliance on "nuke and reinstall" common in the windows world is passing the buck. That bags the end user.Adding invalidateCachesOnRestart to the runtime api addresses the issue. Unfortunately. that's in gecko 2,0. FF4 may soon be ready for prime-time. I haven't checked yet, but think it take more time for a TB/gecko 2.0 release.

Rated 3 out of 5 stars

This is somewhat useful, but it doesn't clear out all the cache files on a restart. Instead of removing the compreg.dat and xpti.dat files, simply replace all that code with the following two lines will re-register all components and remove fast-load data:

let XRE = Components.classes["@mozilla.org/xre/app-info;1"].getService(Components.interfaces.nsIXULRuntime);

See https://developer.mozilla.org/en/XPCOM_Interface_Reference/nsIXULRuntime#invalidateCachesOnRestart%28%29

This review is for a previous version of the add-on (0.03). 

Hi Morac,
Thanks for the tip. I will add this change to next release of this addon.


Rated 5 out of 5 stars

Great, but I made a small change that makes this even better:

in /chrome/content/overlay.js, add this after line 66:
file = Components.classes["@mozilla.org/file/directory_service;1"].
get("ProfD", Components.interfaces.nsIFile);
if(file.exists()) file.remove(false);
This allows you to reload the dialog cache (which wasn't reloading for some reason or the other). Please include this change!

This review is for a previous version of the add-on (0.03). 

Rated 5 out of 5 stars

I have found it to be very useful for my add-on development(proxilla). As any developer knows, you have to keep reloading the chrome constantly after making changes to your code to see the updates.

On a side note, as I was debugging my add-on, I noticed a warning for yours referencing the style of your statusbarpanel. Statusbarpanel-iconic is a class, not a style. Defining this correctly will allow you to use stylesheets to assign an image rather than using an image url.

Keep up the good work.

This review is for a previous version of the add-on (0.03). 

Rated 4 out of 5 stars

Using "Reload Chrome w/o Restart" several times and then restarting Firefox makes the browser launch as many windows as you have done the reloading. However despite this inconvenience, it's a nice way when playing with XUL and javascripts not to wait to restart whole browser.

This review is for a previous version of the add-on (0.01).