posted 20 years ago
I figured that out, but what purpose is this serving?
You can not disable the back button.
If you want a useless script then sarch google for "No Right Click JavaScript" and you will find 100's of them.
People hate when you mess with their browsers, you can not hide code/pictures/text/etc since it exsists in your cache. Are you also going to disable (ALT <-) combo too?
If you are doing both of these to keep a user from going back to the previous page there is a better solution. Plus a person can disable JavaScript and get around all your little things.
Eric