A butterfly-shaped ESIPT molecule with solid-state fluorescence for the detection of latent fingerprints and exogenous and endogenous ONOO- by caging of the phenol donor.