protocol

Returns the Location object's URL's scheme.

Can be set, to navigate to the same URL with a changed scheme.

MDN Reference