tag:blogger.com,1999:blog-4169725900677799339.post5746223533609517974..comments2023-09-25T08:40:07.756-07:00Comments on TC's Blog: Javascript to disable user from using the browser’s Back buttonThe Khuchttp://www.blogger.com/profile/12621548819958842894noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-4169725900677799339.post-30470344185271755152006-03-02T16:34:52.000-08:002006-03-02T16:34:52.000-08:00hee hee nice trick...I can hear them cursing nowhee hee nice trick...I can hear them cursing nowJ-Fleauxhttp://www.50jigs.comnoreply@blogger.comtag:blogger.com,1999:blog-4169725900677799339.post-72642929431993974352007-10-29T04:23:52.000-07:002007-10-29T04:23:52.000-07:00this hack no longer works on firefox... please fi...this hack no longer works on firefox... please find another way!!!raynoreply@blogger.comtag:blogger.com,1999:blog-4169725900677799339.post-76809482505130498502008-07-20T00:30:20.000-07:002008-07-20T00:30:20.000-07:00Just insert this within head section : function no...Just insert this within head section : <br><br><br>function noBack(){window.history.forward()}<br>noBack();<br>window.onload=noBack;<br>window.onpageshow=function(evt){if(evt.persisted)noBack()}<br>window.onunload=function(){void(0)}<br><br><br>It works with IE, Firefox, Safari, Operamartin72noreply@blogger.comtag:blogger.com,1999:blog-4169725900677799339.post-56334964193339661302008-07-21T03:26:14.000-07:002008-07-21T03:26:14.000-07:00Please note that history.forward() never gets any ...Please note that history.forward() never gets any param. <br>It's equivalent to history.go(1).martin72noreply@blogger.com