Windshield to prevent laser strikes
Only if you know the laser wavelength.

If the windshield uses a color filter, it can attenuate the light intensity at one wavelength while being transparent for other wavelengths, so the pilot can still see what is going on outside. The colors will look strange, but laser beams of the filter wavelength would have less intensity when viewed through this screen. This only works, however, if the laser wavelength is known beforehand, so the right filter can be used. All other light signals, approach lights and what not would need to use sufficiently different wavelengths so they are still visible.

Think of an approach in fog, rain or haze. Sometimes all the pilot sees is a faint glow - if the filter takes this away, the pilot will notice the lights only later, when they are closer and there is less time to react.

The other alternative is synthetic vision. The cockpit has a row of screens which show the images of cameras in the nose of the aircraft. This was already investigated by NASA for supersonic passenger aircraft, but met resistance from pilots. The reduced contrast of screens will make lasers merely a nuisance, but not harm the pilot. Clever software could even filter out too bright light sources.