Forum Moderators: open
when i check to see if there is history like the example below, it doesnt check it, it actually navigates straight to the page im checking instead.
if(window.history.forward(1)!= null) {
<a href="javascript:history.go(1)">forward</a>;
}
this is tested in firefox 2. is it possible to do what i want?
You used to be able to access the history object to check but access was removed a long time ago as it's a security risk for a website to be able to check what other sites you access.
While any of us have legitimate reasons for checking history, you can see the obvious security implications it has.