Killersites.com Homepage Welcome Guest   |   Register  |  Login
Login Name Password
  Search  
  Index  | Recent Threads  | Unanswered Threads  | Who's Online  | User List  | Help



Quick Go »

No member browsing this thread
Thread Status: Active
Total posts in this thread: 7
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 3637 times and has 6 replies Next Thread
Male pnmorrison
Newbie




Joined: Mar 3, 2008
Post Count: 49
Status: Offline
Reply to this Post  Reply with Quote 
how to disable back button in firefox

to restrict a user from going to previous page in IE i use the following code on that page (the previous page)

<script>
window.history.forward(1);
</script>

However Firefox ignores this script. Does anybody know how i cna disable the back button in firefox.

Thanking you in advance.

Paul

[Dec 12, 2008 8:15:45 AM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Female Susie
Advanced Member
Member's Avatar

Ohio, USA
Joined: May 30, 2004
Post Count: 2677
Status: Offline
Reply to this Post  Reply with Quote 
Re: how to disable back button in firefox

Why would you want to do that? I would not be happy about it as a visitor to your site.
[Dec 12, 2008 8:24:41 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Male newseed
Advanced Member
Member's Avatar


Joined: Apr 2, 2005
Post Count: 2141
Status: Offline
Reply to this Post  Reply with Quote 
Re: how to disable back button in firefox

If you mess with my browser....POOF!..I am outta here and you won't see me come back....ever.

Now...just WHY in the world would you want to do something like that??
----------------------------------------
Success is based on how much you spend. If it's not money, then the alternative is your time.
The Kasper Group

[Dec 12, 2008 8:37:07 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Male pnmorrison
Newbie




Joined: Mar 3, 2008
Post Count: 49
Status: Offline
Reply to this Post  Reply with Quote 
Re: how to disable back button in firefox

Listen - if i had a choice do u think i would implement it.
Would i heck!
But as it goes - i dont!

Thanks for your meant well but unhelpful comments!
[Dec 12, 2008 8:45:41 AM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Male ewwatson
Advanced Member
Member's Avatar

United States
Joined: Dec 19, 2007
Post Count: 1285
Status: Offline
Reply to this Post  Reply with Quote 
Re: how to disable back button in firefox

Others sometimes tend to forget that your often making a site for "someone else" and that your actions may be dictated by their whims and not your own. And when push comes to shove, I'd imagine that their wants hold more value than yours, since their the ones paying the tab. That said, I don't like it when I can't go back either, but I won't assume to know all situations this may be helpful or not.

Here is one way. And here is the demo. Or Google offers many links to it also.
----------------------------------------
Eric :~)
Knowledge is Power
----------------------------------------
[Edit 2 times, last edit by ewwatson at Dec 12, 2008 9:00:55 AM]
[Dec 12, 2008 8:57:16 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Male newseed
Advanced Member
Member's Avatar


Joined: Apr 2, 2005
Post Count: 2141
Status: Offline
Reply to this Post  Reply with Quote 
Re: how to disable back button in firefox

Listen - if i had a choice do u think i would implement it.
Would i heck!
But as it goes - i dont!

Thanks for your meant well but unhelpful comments!

I think you have been here enough to know that we offer strong opinions about things that users/developers should stir away from. This is no difference.

Whether you are doing for you or for a client, it should be stressed to the person using it that it's like taking the steering wheel out of the hands of the person driving it.
----------------------------------------
Success is based on how much you spend. If it's not money, then the alternative is your time.
The Kasper Group

[Dec 12, 2008 10:42:47 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Male LSW
Advanced Member
Member's Avatar

USA
Joined: Nov 27, 2003
Post Count: 6287
Status: Offline
Reply to this Post  Reply with Quote 
Re: how to disable back button in firefox

Part of the issue in this is that they are paying us as the professionals. We don't tell them there job and they need to listen to us, if they don't why are they paying us. This is our specialty, that is why they have us.

The Back button is a basis of web navigation from early on. It is inbed in us and is the default escape that always works... especially for those with disabilities, it is a major handicap for people with disabilities if it is taken away.

Clearly from the post you know this is part, so the question is still why? Why do they want it this way? What have you argued? Maybe we can come up with arguments you can use to change their minds. This is wrong and we have to fight it tooth and nail. Finally they may still get their way, but the question is have we as designers done all we can do to change their minds.

Face it, anyone can turn of the JS on their browser and your attempts to stop the back button goes poof! Explain that to them that it is not hard to get around so why bother.

I guess what we would like them is to know why they feel the need to mess with the user... maybe we can come up with alternatives to killing the back button. Give us more info and we will help you argue against it again, we can help find reasons it won't work.

They may be footing the bill, but we as developers build the web site for the end user and their needs.
----------------------------------------
Gu.aal kwsh� yak'�i it�akw ijeet wugood�k

LSW-WebDesign.com
[Dec 12, 2008 11:17:18 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread