Location.protocol - Web documentation
property Location.protocol

Returns the Location object's URL's scheme.

Cannot be set in Deno.

Type

string