I advise against this. I kept a bottle of smelling salts in my pocket one time and felt the distinct feeling of my leg burning, because the seal opened, ammonia leaked onto my skin and it burns. I was at work (working a late shift, hence the nose tork), threw the bottle in the fridge and forgot about it. Later, went to open the fridge to get a snack, and was practically hit with a gas bomb. I think the small condensed area of the fridge with the airtight seal created an undesirable reaction.
Now, this was a small fridge, and maybe a bigger one would work better, or maybe it would just fill with more fumes. Either way, that taught me not to store my ammonia in the fridge.