Disable firefox back button
how can i disable back button of the browser in firefox
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
MuthuMari MRank #5,738 · 288 reputationPosted May 9, 2012, 1:20 AM EDT
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"
nishant ranjanRank #4,961 · 317 reputationPosted May 9, 2012, 1:32 AM EDT
Ish BandhuRank #1,415 · 1.2K reputationPosted May 9, 2012, 1:55 AM EDT
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();
SenthilkumarRank #387 · 6.5K reputationPosted May 9, 2012, 3:00 AM EDT
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.