How to Hide All Windows of an App Other Than the Front One

I already expected something along the lines when I saw your other script :wink:

Seems to work nicely. Except in Firefox the frontmost window gets minimized.