Try this history.go(-1);return false; >> When I do <BODY onUnload="javascript:backBrowser();"> >> >> function backBrowser(){ >> history.go(-1); >> } >> >> it works in IE 5 on Windows, but it crashes Netscape. When I use >> document.referrer, it just goes back to my browser detection page. >> What can I do that works in both IE and Netscape?