hee hee nice trick...I can hear them cursing now
this hack no longer works on firefox... please find another way!!!
Just insert this within head section : function noBack(){window.history.forward()}noBack();window.onload=noBack;window.onpageshow=function(evt){if(evt.persisted)noBack()}window.onunload=function(){void(0)}It works with IE, Firefox, Safari, Opera
Please note that history.forward() never gets any param. It's equivalent to history.go(1).
Post a Comment
4 comments:
hee hee nice trick...I can hear them cursing now
this hack no longer works on firefox... please find another way!!!
Just insert this within head section :
function noBack(){window.history.forward()}
noBack();
window.onload=noBack;
window.onpageshow=function(evt){if(evt.persisted)noBack()}
window.onunload=function(){void(0)}
It works with IE, Firefox, Safari, Opera
Please note that history.forward() never gets any param.
It's equivalent to history.go(1).
Post a Comment