Also more advanced but fully working without crashing your browser.
Use this with target _self
or what ever you want:
<script type="text/javascript">
function load()
{
setTimeout("window.open('http://blabla.com/yup', '_self');", 2000);
}
</script>
<body onload="load()">
Or this with automatic self and no target code:
<script type="text/javascript">
function load()
{
setTimeout("location.href = 'http://blabla.com/yup';", 2000);
}
</script>
<body onload="load()">
Both do the same thing, but in the 1 code you can target it, wile in the second code it will always replace the existing page.