[Javascript] Delete one history item

Frances Poon fpoon at Adobe.COM
Fri Apr 13 12:59:20 CDT 2001


	Hi, I have a page that first detects what browser version you have, then
refreshes to a new page.  I would like to skip my browser detection page
when the user hits the browser Back button.
	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?

-Frances


Frances Poon
Web UI Designer
Adobe Systems Incorporated
345 Park Avenue
Mailstop E12
San Jose, CA 95110
408-536-4575
408-537-4069 fax
fpoon at adobe.com




More information about the Javascript mailing list