如果您想要禁用浏览器的BACK按钮,请举手 [英] Raise your hand if you have ever wanted to disable the browser's BACK button

查看:112
本文介绍了如果您想要禁用浏览器的BACK按钮,请举手的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果使用浏览器的BACK按钮干扰了你的网络应用程序

的操作,那么看一下这篇文章的权利Back Button

蓝调

http:/ /www.tonymarston.co.uk/php-mys...ttonblues.html


-

Tony Marston

http://www.tonymarston.net

If the use of the browser''s BACK button is interfering with the operation of
your web application then take a look at this article entitle "Back Button
Blues"

http://www.tonymarston.co.uk/php-mys...ttonblues.html

--
Tony Marston

http://www.tonymarston.net

推荐答案

我不理解你反对使用卑微隐藏的论点。

带宽缺点可以忽略不计。并且你需要在最初的GET上进行访问检查

,在后续的POST中再次执行它不会是那个

很难。


Uzytkownik" Tony Marston" <至** @ NOSPAM.demon.co.uk> napisal w wiadomosci

news:c0 ******************* @ news.demon.co.uk ...
I don''t understand your argument against using the humble hidden. The
bandwidth disadvantage is negligible. And you need to do a access check on
the initial GET anyway, doing it again in the subsequent POST can''t be that
hard.

Uzytkownik "Tony Marston" <to**@NOSPAM.demon.co.uk> napisal w wiadomosci
news:c0*******************@news.demon.co.uk...
如果使用浏览器的BACK按钮干扰了您的Web应用程序的操作
,那么请看看这篇文章的权利Back Button
Blues

http://www.tonymarston.co.uk/ php-mys ... ttonblues.html

- Tony Marston

http://www.tonymarston.net
If the use of the browser''s BACK button is interfering with the operation of your web application then take a look at this article entitle "Back Button
Blues"

http://www.tonymarston.co.uk/php-mys...ttonblues.html

--
Tony Marston

http://www.tonymarston.net



On有些屏幕隐藏字段的数量可能非常大,这意味着文件下载和转发需要更长的时间。

那些说文件的人对于那些没有宽带连接的用户来说,尺寸不是问题完全无关。

这些数据中的一些也可能具有安全隐患,因此在HTML文档正文中通过网络发送它并不是一个好的想法,因为它
,特别是有恶意的人。最好将这些数据保存在服务器上。


这是我的拙见,因为它的价值。


Tony Marston
http://www.tonymarston.net


" Chung Leong" < CH *********** @ hotmail.com>在消息中写道

新闻:gK ******************** @ comcast.com ...
On some screens the number of hidden fields could be quite large, which
means that the document will take longer to download as well as retransmit.
Those of you who say that document size is not a problem are being totally
inconsiderate to those users who do not have a broadband connection.

Some of this data may also have security implications, so it is not a good
idea to send it across the net within the body of the HTML document as it
can be seen by anyone, especially by someone with nefarious intent. It is
better to keep such data on the server.

That is my humble opinion, for what it''s worth.

Tony Marston
http://www.tonymarston.net

"Chung Leong" <ch***********@hotmail.com> wrote in message
news:gK********************@comcast.com...
我我不理解你反对使用卑微隐藏的论点。
带宽缺点可以忽略不计。而且你需要对最初的GET进行访问检查,在后续的POST中再做一次就不会是
那么难。

Uzytkownik" Tony Marston" ; <至** @ NOSPAM.demon.co.uk> napisal w wiadomosci
新闻:c0 ******************* @ news.demon.co.uk ...
I don''t understand your argument against using the humble hidden. The
bandwidth disadvantage is negligible. And you need to do a access check on
the initial GET anyway, doing it again in the subsequent POST can''t be that hard.

Uzytkownik "Tony Marston" <to**@NOSPAM.demon.co.uk> napisal w wiadomosci
news:c0*******************@news.demon.co.uk...
如果使用浏览器的BACK按钮会干扰你的网络应用程序的
If the use of the browser''s BACK button is interfering with the operation

操作
然后看看这篇文章的权利返回
your web application then take a look at this article entitle "Back



Button Blues"

http://www.tonymarston.co.uk/php-mys...ttonblues.html

-
Tony Marston

http://www.tonymarston.net




" Tony Marston" <至** @ NOSPAM.demon.co.uk>在留言新闻中写道:< c0 ******************* @ news.demon.co.uk> ...
"Tony Marston" <to**@NOSPAM.demon.co.uk> wrote in message news:<c0*******************@news.demon.co.uk>...
如果使用浏览器的BACK按钮干扰了你的web应用程序的运行,然后看一下这篇文章的权利Back Button
Blues

http://www.tonymarston.co.uk/php-mys .. .ttonblues.html
If the use of the browser''s BACK button is interfering with the operation of
your web application then take a look at this article entitle "Back Button
Blues"

http://www.tonymarston.co.uk/php-mys...ttonblues.html




我完全理解不想让用户使用

后退按钮或重新加载来重新提交表单当事情进展缓慢时。


我想到的最简单的方法就是把柜台放在



I totally understand not wanting to let users resubmit forms by using
the back button or hitting reload when something is going slowly.

The simplest way around it I''ve thought of is to put a counter in

这篇关于如果您想要禁用浏览器的BACK按钮,请举手的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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