jQuery Get url Origin

console.log(window.location.origin);
Carnivorous Flamingo