我可以在我的webapp中禁用浏览器刷新吗? [英] Can I disable browser refresh in my webapp?

查看:114
本文介绍了我可以在我的webapp中禁用浏览器刷新吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的网站上禁用刷新功能。有什么办法可以禁用 F5 Ctrl - R ,或者重新加载网页?

解决方案

我有一个建议。这个页面有一个答案框。



(以下是您的答案标签)


  • 输入一些文本。

  • 然后刷新此页面



刷新时会显示一些警告消息,我建议您显示类似的警告消息,而不是禁用刷新功能。


I want to disable refresh on my website. Is there any way to disable F5, Ctrl-R, or reload in a webpage?

解决方案

I have a suggestion. There is an answer box in this page.

(Here below with Your Answer label)

  • Type some text in it.
  • Then refresh this page

When you refresh there is some warning message displayed, I suggest you to display the similar warning message, instead of disabling the refresh functionality.

这篇关于我可以在我的webapp中禁用浏览器刷新吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆