Molecular photoswitches have been incorporated into polymer backbones to control the macromolecular conformations by structural changes of the main-chain photoswitches. However, previous photoswitches installed in the main chains are thermolabile,...