如何禁用浏览器的后退按钮 [英] how to make the browsers back button disable
本文介绍了如何禁用浏览器的后退按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想让浏览器退回,但我该如何禁用它...?
i want to make the browsers back buttotn disable how do i do it...?
推荐答案
^ ]
只有4,930,000件.我相信您会找到可以帮助您的东西.
https://www.google.com/webhp?sourceid=chrome-instant&ix=seb&ie=UTF-8&ion=1#hl=en&gs_nf=1&tok=L1YdivM99S_apL_xcmi8Lw&cp=15&gs_id=e&xhr=t&q=disable+back+button&pq=disable+back+key&pf=p&sclient=psy-ab&pbx=1&oq=disable+back+bu&aq=0&aqi=g4&aql=&gs_sm=&gs_upl=&bav=on.2,or.r_gc.r_pw.r_cp.r_qf.,cf.osb&fp=9a76dcb319f2a4f&ix=seb&ion=1&biw=1194&bih=731[^]
Only 4,930,000 items. I''m sure you could find something to help you.
看看这个代码项目技巧
注销后浏览器后退按钮问题 [
Have a look at this codeproject tip
Browser back button issue after logout[^]
General rule - forget about the browsers back button. That''s on the client and it''s not yours to disable. Instead, you should use the techniques described in the article so that if the user does click the back button, your site works in the correct way - e.g redirects to a login page or whatever.
这篇关于如何禁用浏览器的后退按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文