I am working on a firefox extension. The problem is if I make any change in it, I need to close and then re-open firefox browser to see the changes . Is there any way I can see those changes by just refreshing the page ?
views:
53answers:
3You might want to try the Restart Firefox plugin to see if that improves your experience.
For the most part, no.
If you're just editing the XUL then you can test different things by using the DOM Inspector to edit/insert/delete elements and properties to see what they will look like without restarting Firefox. You can also use the JavaScript console to test some JavaScript. I've found these things to be a big time saver when developing extensions, but anytime you make a change to the extension code itself you will need to restart Firefox.
I use the Extension Developer Extension for this. There is a "Reload Chrome" button that will do exactly that. It won't alter the browser interface, though, so I generally navigate to my extension's chrome:// URL in a browser window. When I have made significant changes and am ready to test the real extension again, then I'll restart Firefox.