Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #14170
| Path | csiph.com!usenet.pasdenom.info!goblin2!goblin.stu.neva.ru!newsfeed20.multikabel.net!multikabel.net!newsfeed10.multikabel.net!feeder2.cambriumusenet.nl!feeder1.cambriumusenet.nl!feed.tweaknews.nl!194.109.133.85.MISMATCH!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Date | Sat, 26 May 2012 09:36:55 +0200 |
| From | Luuk <luuk@invalid.lan> |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 |
| MIME-Version | 1.0 |
| Newsgroups | comp.lang.javascript |
| Subject | Re: FAQ Topic - How can I disable the back button in a web browser? (2012-05-26) |
| References | <4fc00efa$0$295$14726298@news.sunsite.dk> |
| In-Reply-To | <4fc00efa$0$295$14726298@news.sunsite.dk> |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | 7bit |
| Message-ID | <ipd699-f7i.ln1@luuk.invalid.lan> (permalink) |
| Lines | 25 |
| NNTP-Posting-Host | 2001:980:9089:1:bc72:f8f3:7bfe:3d95 |
| X-Trace | 1338018001 news.xs4all.nl 6850 [2001:980:9089:1:bc72:f8f3:7bfe:3d95]:45804 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.javascript:14170 |
Show key headers only | View raw
On 26-05-2012 01:00, FAQ server wrote: > ----------------------------------------------------------------------- > FAQ Topic - How can I disable the back button in a web > browser? > ----------------------------------------------------------------------- > > You can't. The browser's history cannot be modified. However, you > can use `self.location.replace(url);` in some browsers to replace > the current page in the history. > > <URL: http://msdn.microsoft.com/en-us/library/ms536712%28VS.85%29.aspx> > <URL: http://docs.sun.com/source/816-6408-10/location.htm#1194240> > > > The complete comp.lang.javascript FAQ is at > http://jibbering.com/faq/ > How does: "The browser's history cannot be modified." relate to: "to replace the current page in the history." If history cannot be modified, it also should not be possible to replace an item in history?
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
FAQ Topic - How can I disable the back button in a web browser? (2012-05-26) "FAQ server" <javascript@dotinternet.be> - 2012-05-25 23:00 +0000
Re: FAQ Topic - How can I disable the back button in a web browser? (2012-05-26) Luuk <luuk@invalid.lan> - 2012-05-26 09:36 +0200
Re: FAQ Topic - How can I disable the back button in a web browser? (2012-05-26) "Evertjan." <exjxw.hannivoort@interxnl.net> - 2012-05-26 08:57 +0000
csiph-web