I've heard anecdotally to just get super bright headlights on your own vehicle. That way your eyes are already adjusted to the brightness. I don't know what to if you have a conscience, though.
At least for me, it isn't really a matter of eye adjustment. I still get halos and whatnot against the dark sky and environment.
Retroreflecting band covering upper side of your windshield? This way anyone who shines his lights too high will be blinded with his own reflected light. Doubly so if he tries flashing actual high beams.
Tempting, but then maybe you're escalating blindness into a head-on collision...
That's not a good solution in my experience. I recently purchased a vehicle whose stock headlights (properly height adjusted) are overly bright, and when you're stopped in traffic right behind a vehicle with a white license plate, a significant portion of that light gets reflected right back into your eyes by the white plate. Basically it ends up punishing yourself too. These days I do all my city driving with headlights off (just the daytime running lights) for this reason.
the less sociopathic version of this is to drive with your cabin lights on.