Author |
Message |
fm5280
New Member


Joined: Jul 11, 2006
Posts: 6
|
Posted:
Wed Jan 31, 2007 5:08 pm |
|
Does anyone know a good way to prevent users from using the browser 'back' button with Nuke 7.6? I want to force users to navigate uisng links instead of being able to back up to a previous page, is this possible? |
|
|
|
 |
fkelly
Former Moderator in Good Standing

Joined: Aug 30, 2005
Posts: 3312
Location: near Albany NY
|
Posted:
Wed Jan 31, 2007 7:07 pm |
|
The question really has nothing to do with whether it's Nuke 7.6 or any Nuke for that matter. I don't have my Jabascript book at hand but as I recall there is a history object and the browser just accesses that. So you'd have to monkey with that if it's possible at all. I doubt that it is "easy" since you see sites all the time asking people "please don't use the back button".
For a solution, if one exists, I'd google something like "Jabascript back button" or "Jabascript disable back button" with a v in place of the b of course.
Or maybe one of the gurus here will have a solution for you. |
|
|
|
 |
hitwalker
Sells PC To Pay For Divorce

Joined:
Posts: 5661
|
Posted:
Wed Jan 31, 2007 7:14 pm |
|
indeed fkelly....
but fm5280, thats done by using an immediate redirect: every time the user clicks Back, the browser returns to a page that bounces the user forward to the undesired location.
you realy shouldnt wanna use this.
people realy experience this as irritating.
absolutely not recommended. |
|
|
|
 |
fm5280

|
Posted:
Wed Jan 31, 2007 7:46 pm |
|
hitwalker wrote: | indeed fkelly....
but fm5280, thats done by using an immediate redirect: every time the user clicks Back, the browser returns to a page that bounces the user forward to the undesired location.
you realy shouldnt wanna use this.
people realy experience this as irritating.
absolutely not recommended. | the reason I want to is I run a streaming music site, fm5280.com, and listeners can make requests, once they make a request I need to prevent them from using the backbutton to return to the request page without it loading again, since each time it loads it checks how many requests they have made etc, if they can backbutton, the page is retireved from history and does not update to the latest info. |
|
|
|
 |
manunkind
Client

Joined: Apr 26, 2004
Posts: 368
Location: Albuquerque, NM
|
Posted:
Wed Jan 31, 2007 9:35 pm |
|
|
|
 |
hitwalker

|
Posted:
Thu Feb 01, 2007 4:55 am |
|
you could also search google on...disable back button...
that gives enough results.
but as you will read to.....its not compatible will all browsers....
and there are many ways of doing that... |
|
|
|
 |
evaders99
Former Moderator in Good Standing

Joined: Apr 30, 2004
Posts: 3221
|
Posted:
Thu Feb 01, 2007 4:08 pm |
|
Seems the more correct way to be to check on the script that is processing the request, so that they cannot request more than the number you decide on. It could just add an entry into the database, if you are not already doing that |
_________________ - Only registered users can see links on this board! Get registered or login! -
Need help? Only registered users can see links on this board! Get registered or login! |
|
|
 |
|