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).
hee hee nice trick...I can hear them cursing now
ReplyDeletethis hack no longer works on firefox... please find another way!!!
ReplyDeleteJust insert this within head section :
ReplyDeletefunction 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.
ReplyDeleteIt's equivalent to history.go(1).