Option-click green button does window maximise (normal click does full-screen)

Technically it’s zoom, and how it functions is dependent on the app. In Finder it used to resize the window to a size that contained all the icons. Clicking it again would revert the window size.

Ah I wish I knew that, thanks for the tip!