Vinegar will do an equally effective job and doesn't contain surfactants, which vary in toxicity but typically are to organisms. My main issue with Windex is the additional ingredients that aren't ammonia. Presumably an accidental misting of ammonium chloride would be metabolized by the tank. Windex has their ingredients listed on their website. One of the surfactants listed on their website is
Alkylbenzene sulfonates
which while diluted in the larger environment, in a controlled setting can contribute to coral tissue loss and death in conjunction with raised temperature. (For reference, the study also included the aquatic portion of diesel fuel, which had little effect on coral mortality, vs the surfactants with up to 96% mortality.
Is there less of a risk in a larger aquarium better able to dilute the surfactants and remove them via chemical filtration? Sure. If anyone wants to risk that, I won't judge them, but it's fairly obvious corals don't like them. Hence me avoiding the chance of introducing it to my tank. That doesn't mean I am a saint (my wife burns candles) but why compound it in my opinion. I'm sure it's possible given caution and not misting near the tank, but I choose not to do it.