protocol
property of the LOCATION object, tags: A, AREA . Returns the protocol portion of the url string, up to colon.
window.location.protocol
object.protocol