Alright, so you know that installing a smoke alarm close to your bathroom and kitchen is not the way to go. Outside of simply avoiding installing them there in the first place, there are a few other quick steps that you can take. However, you really should just adhere to the advice manufacturers will give you and stay a moderate distance away from the aforementioned areas. But, if they do go off for these reasons anyway, here is what you can do.
Firstly, hit the silence or hush button to shield your ears from hearing damage. Now that that is done, you should open the nearest window to allow the smoke and the steam to disperse out of your home. Also, an even quicker solution is to wave a towel in front of the alarm to provide airflow.