S-47665 Get protocol from window.location.protocol