Electrically controlled glasses with continuously adjustable transparency, new polarization filters, and even chemosensors capable of detecting single molecules of specific chemicals could be fabricated thanks to a new polymer unprecedentedly combining optical and electrical properties.