disable firefox back button
how can i disable back button of the browser in firefox
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
SenthilkumarPosted May 9, 2012, 7:00 AM
We do not have any control to physically disable the button directly in the browser bar.
But we can control through logically like by setting the history option and no cache option.
Ish BandhuPosted May 9, 2012, 5:55 AM
javascript: window.history.forward(-1);
and paste below line on others page page load or masterpage page load Response.Cache.SetCacheability(HttpCacheability.NoCache); Response.Cache.SetExpires(DateTime.UtcNow.AddHours(-1)); Response.Cache.SetNoStore();
nishant ranjanPosted May 9, 2012, 5:32 AM
MuthuMari MPosted May 9, 2012, 5:20 AM
Its quite simple to disable the back button functionality of a browser (this was tested on IE and Firefox).
This causes every back to return with a forwardpls refer this url
http://www.harelmalka.com/?p=46
thanks.
If this post is useful then mark it as "Accepted Answer"