use location.protocol
merge