removeNestedProtocol

removeNestedProtocol(href) unwraps a nested protocol — blob:http://… becomes http://…. Part of pota/use/url.

Arguments

Argument Type Description
href string The URL to strip.

Returns: stringhref with the outer nested protocol removed.