I dont think "anti laser" coatings to windows or glasses work by pilots would be practical. Ones that would work reliably would have lenses so dark, you would inhibit normal vision.
A reflective (partially mirrored) coating to the inside of windows would work better. It wouldn't be 100% effective, but would provide a measure of assistance.