I know that document.URL can not be set, while location.href can.
document.URL
location.href
But the Document indicates:
URL is a replacement f
Yes and no!
alert(document.url); document.url="http://www.google.co.uk"; alert(document.url);