# IE/Netscape back button

**URL:** https://forum.kirupa.com/t/ie-netscape-back-button/42643
**Category:** web dev
**Created:** [February 11, 2004, 1:30pm UTC](https://forum.kirupa.com/t/ie-netscape-back-button/42643 "2004-02-11T13:30:29Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![as\_clark20](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@as\_clark20](https://forum.kirupa.com/u/as_clark20)
#### Post date: [February 11, 2004, 1:30pm UTC](https://forum.kirupa.com/t/ie-netscape-back-button/42643/1 "2004-02-11T13:30:29Z")

</div>

Hey ya’ll,

when I enter my website it calls the page index.html naturally, which is just designed to check if a user has the flash plugin. Depending on the result you’re either taken to enterflash.html or noflash.html.

Now the problem begins. If you’re in either one of these pages and click the web browsers “back” button you get taken back to index.html which again checks for the flash plugin and takes you to the page you just wanted to get away from. You can now see my problem…

On just these two pages (enterflash/noflash) can I have some kind of code to make the web browsers “back” button go back 2 steps. Any help would be greatly appreciated to make website AMAZING!!!

Cheers.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [February 11, 2004, 4:26pm UTC](https://forum.kirupa.com/t/ie-netscape-back-button/42643/2 "2004-02-11T16:26:31Z")

</div>

I think you can do it with JS cookies… lemme look up some code 🙂

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [February 11, 2004, 4:38pm UTC](https://forum.kirupa.com/t/ie-netscape-back-button/42643/3 "2004-02-11T16:38:44Z")

</div>

use JS location.replace
