I first heard about using window cleaner with ammonia to kill the corrosive salts in mil surplus ammo many years ago. I use it on my new guns now makes barrels sparkle just make sure it is dried out then lay the oil to it....
I’ve heard of that too, but only recently. Main trick I was taught was to use water—preferably hot soapy water—to dissolve and wash the primer salts out of the barrel.
Interestingly, while use of ammonia dope was supposedly banned by the US Army in the 1930s, a 1950s manual from FN of Belgium (describing depot-level maintenance for the FAL rifle) still listed the recipe and how to use it.
No matter to me. I have to very carefully clean and dry rifles I've de-Cosmolined by my usual procedure of taking them to the local car wash. The hot water spray works great [no hot wax, please!] but the water softener used at such establishments is...salt. Accordingly, rinse well after wards, preferably a couple of times. And then oil appropriately.