https://emtunc.org/blog/03/2011/get-firefox-4-to-ask-you-to-save-tabs-on-exit/
Get Firefox 4 to Ask You to Save Tabs on Exit