Aims. Supernovae offer the unique possibility to probe diffuse extra-galactic sightlines via observation of the optical transitions of atoms, molecules and the diffuse interstellar bands (DIBs). Through optical spectroscopy the presence of (complex) molecules in distant galaxies can be established and used to derive local physical conditions of the interstellar medium (ISM).