Uzyskaj rzeczywisty adres URL w zmiennej
var currentLocation = window.location;
Prickly Pheasant
var currentLocation = window.location;