+ location.protocol check; * debug log