JS Origin Without Port

// origin without the port
`${window.location.protocol}//${window.location.hostname}`
garzj