There is stuff in a spray can called FOG-OFF. (Works for me.)
If that runs out on a ride ... I use the clothes-peg method. A spring loaded clothes peg clipped onto the bottom of the visor keeps a small gap at the front open. Wind pressure usually keeps the sides of the visor closed.
Bookmarks