Firefox: double-click on titlebar maximize window instead on open new tab
Double-click to maximise is a System pref

 menu > System Preferences > Dock

Uncheck "Double-click a window's title bar to…zoom"