Make .% syntax throw similar security errors on all Firefox versions (related to issue 7597)