Скрипт, позволяющий загружать новые страницы
<head>:function fillText(){
document.forms[0].newUrl.value = document.location.pathname.toString();
}
function loadNew(){
document.location.assign(document.forms[0].newUrl.value.toString())
}
function sel(){
document.forms[0].newUrl.select();
}
function replaceDoc(){
document.location.replace(document.forms[0].newUrl.value.toString());
}<body onLoad="fillText(); return false">:<form>
Введите адрес/путь к файлу документа:
<input type="text" size="100" id="newUrl" name="newUrl"
onFocus="sel(); return false"><br><br>
<input type="button" value="Assign" onClick="loadNew();
return false">
<input type="button" value="Reload" onClick="javascript:document.location.reload()">
<input type="button" value="Replace" onClick="replaceDoc();
return false">
</form>