如何在禁用“后退”按钮的情况下创建注销。 [英] How to create a logout with the 'back button disabled.
本文介绍了如何在禁用“后退”按钮的情况下创建注销。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我尝试了这里给出的所有解决方案,但我实际上不知道在哪里放置所有代码。所以任何人都可以通过一个简单的解决方案来帮助我注销而无需用户按下后退按钮并再次注销。
i tried all the solutions given here but i actually don't know where to put all that codes.so can anyone help me out with a simple solution to log out without being the user press back button and go to log out again.
推荐答案
你可以通过JavaScript实现这一点
You can do it so by JavaScript
这篇关于如何在禁用“后退”按钮的情况下创建注销。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文