Probably a simple question for everyone. This displays the alert with the location in Chrome and Safari but it doesn't work in Firefox
<html>
<head>
<script type="text/javascript">
function onload() {
var loc = window.location;
alert("url is " +loc);
return false;
}
</script>
</head>
<body onload="onload()">
</body>
</html>
Any Ideas