+1 on the condom. If the barrel protrude from a horizontal magazine or is small enough flash suppressor, a finger condom may work better.

You can also attach a trip wire detector around the condom and keep it secured over the muzzle, if you use a TWD.
_________________________
QMC, USCG (Ret)
The best luck is what you make yourself!