...

View Full Version : Disable the Address bar from changing the URL



Jon W
03-17-2009, 11:19 PM
Hello, I'm working on a text based game right now and I need a way to disable the address bar from people modifying the URL. I know there is ways around this but at least for the not so computer smart people I can keep them from changing the URL and cheating. (I have some other ideas too for people that are more computer smart) I also need to disable the back and forward button on, IE7, Firefox, and Google Chrome.

What would be the script to place in to do this? lol I'm not JavaScript smart.

Thanks,
Jon W

Old Pedant
03-18-2009, 01:33 AM
Pop up a new window that doesn't HAVE an address bar.

You can also trap the ONUNLOAD of the window and kill the game if they aren't going to the right place, but that means you have to CAREFULLY handle all the right places.

Good luck on this. I think you are fighting a mostly losing battle.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum