从后退按钮历史记录中排除页面 [英] Excluding page from back button history

查看:81
本文介绍了从后退按钮历史记录中排除页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


我想要一个页面被排除在后退按钮历史记录之外,也就是说,当用户点击他们的时候,他们需要
浏览器的后退按钮,它永远不会回到这个

特定页面。


有人可以告诉我怎么做吗?


我想也许会有某种特殊的元标记

表示将我排除在浏览器的历史记录之外,但一直是

无法找到我想要的东西。


任何指针都会非常感激。

Hi all,

I''d like a page to be excluded from the back button history, that is,
when a user hits their browser''s back button, it never backs into this
particular page.

Can anybody please tell me how to do this?

I thought perhaps there would be some kind of special meta tag that
says something like "exclude me from browser''s history", but have been
unable to find what I''m looking for.

Any pointers would be very much appreciated.

推荐答案

2007年12月3日星期一11:42:52 +0100,< ji ************ @ hiteclabs.comwrote:
On Mon, 03 Dec 2007 11:42:52 +0100, <ji************@hiteclabs.comwrote:

我想要一个页面被排除在后退按钮历史记录之外,也就是说,当用户点击浏览器的后退按钮时,它就是
,它永远不会回到这个状态

特定页面。


任何人都可以告诉我如何操作这样做了吗?


我想也许会有某种特殊的元标记

表示将我排除在浏览器的历史记录之后。 ,但已经

无法找到我正在寻找的东西。


任何指针都会非常感激。
I''d like a page to be excluded from the back button history, that is,
when a user hits their browser''s back button, it never backs into this
particular page.

Can anybody please tell me how to do this?

I thought perhaps there would be some kind of special meta tag that
says something like "exclude me from browser''s history", but have been
unable to find what I''m looking for.

Any pointers would be very much appreciated.



没有这样的事情。但是:

- 如果你这样做是为了防止'

页面的消息已过期,重新提交值?''查看页面上的标题重定向

收到发布的值。

- 用javascript更改/加载的页面并不总是显示在

历史:在确切页面添加时询问comp.lang.javascript,当他们不是时,请询问
。问题的反面(我_want_将历史中的页面设为
)已被解决了很多。

-

Rik Wasmus

There is no such thing. However:
- if you''re doing this to prevent the message that''s something like ''the
page is expired, resubmit values?'' look into header redirects on the page
receiving the posted values.
- pages altered/loaded with javascript don''t always show up in the
history: ask in comp.lang.javascript when exactly pages are added, and
when they''re not. The reverse of your issue (I _want_ to have the page in
the history) has been tackled a lot.
--
Rik Wasmus


ji ******** ****@hiteclabs.com 写道:
ji************@hiteclabs.com wrote:

大家好,


我想要要从后退按钮历史记录中排除的页面,即,当用户点击其浏览器的后退按钮时,它将永远不会回到此特定页面的b $ b。
Hi all,

I''d like a page to be excluded from the back button history, that is,
when a user hits their browser''s back button, it never backs into this
particular page.



如果没有关于*为什么*你想要的更多信息,我们可以认为

你想要做一些邪恶的事情。用户应该是他在历史记录中保留的唯一

大师。

如果是因为你想将URL重定向到另一个,那么,不要'$

使用丑陋的HTML META黑客,使用正确的HTTP 301重定向,你将获得所有浏览器良好的历史记录处理。


-

如果你有一个不属于Usenet的问题,请联系我

< tabkanDELETETHISnaz at yahoDELETETHATo。 fr>

Without further information about *why* you want that, we can just think
that you''re trying to do something evil. The user should be the only
master of what he keeps in the history.
If it''s because you want to redirect an URL to another one, than, don''t
use the ugly HTML META hack, use proper HTTP 301 redirects, and you''ll get
a good history handling by all browsers.

--
If you''ve a question that doesn''t belong to Usenet, contact me at
<tabkanDELETETHISnaz at yahoDELETETHATo.fr>


我注视着我的水晶球 ji************@hiteclabs.com

写新闻:de0d9b7b-c43a-489f-a8a7-
ef ********** @ d61g2000hsa.googlegroups.com
Gazing into my crystal ball I observed ji************@hiteclabs.com
writing in news:de0d9b7b-c43a-489f-a8a7-
ef**********@d61g2000hsa.googlegroups.com:

大家好,


我希望从后退按钮历史记录中排除一个页面,即

当用户点击浏览器的'b'时ack按钮,它永远不会回到这个

特定页面。


有人可以告诉我该怎么做吗?


我想也许会有某种特殊的元标记

说从浏览器的历史中排除我,但是已经

无法找到我正在寻找的东西。


任何指针都会非常感激。
Hi all,

I''d like a page to be excluded from the back button history, that is,
when a user hits their browser''s back button, it never backs into this
particular page.

Can anybody please tell me how to do this?

I thought perhaps there would be some kind of special meta tag that
says something like "exclude me from browser''s history", but have been
unable to find what I''m looking for.

Any pointers would be very much appreciated.



我认为这个可能是一种形式或一系列形式。最好的办法

是检查服务器端。正如其他人所指出的那样,你真的不想弄乱用户的

浏览器。


-

Adrienne Boswell在家

Arbpen网站设计服务
http://www.cavalcade-of-coding.info

请回复小组,以便其他人分享

Me thinks this might be a form, or a series of forms. Best thing to do
is to check server side. You really don''t want to mess with the user''s
browser, as others have pointed out.

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share


这篇关于从后退按钮历史记录中排除页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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