We can't stop A-holes from doing dumb shit, so here's an idea:
How about putting a special reflective mask/window tint over the cockpit windows that blocks coherent light (aka, the "Frickin' LASERs"). I know this must be rocket science because it hasn't been done. I'm no inventor or I would have done this already, so don't flame me. I'm just putting this out as a suggestion.