Firefox + Always-Restore-Open-Tabs

I use Firefox with the "clear history on exit" setting enabled and while it does work, it also clears all my open tabs...

I noticed that when firefox upgrades (or crashes) it behaves the exact way I wanted: it clears my history but preserves my open tabs.

So for years I've been using killall -9 firefox instead of closing it normally 🤡

Now I have this hack instead. I can go back to exiting Firefox normally and it happily restores my open tabs, no questions asked.