Scientists have come up with a new way to detect oxygen in exoplanets’ atmospheres, a finding that gives a boost to the hunt for alien life.