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 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: 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 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. > > > > > > 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?