This is possible, but you’ll have to build it manually from the location object:
location.protocol + '//' + location.host + location.pathname
This is possible, but you’ll have to build it manually from the location object:
location.protocol + '//' + location.host + location.pathname