I use the spray citrus stuff. It works. Dish detergent is worthless. I once ran the cleaning machine with dish detergent three times to get murky water. Then I sprayed citrus degreaser on the chain and ran the cleaning machine with water. The water was black when I finished.
I've never heard of this foam stuff. I imagine anything that works will strip paint, eat rubber, and corrode metal.