Sorry, Andre, you're out of luck.

First of all, there is no way to disable any aspect of the browser (I can't 
tell you the number of times I've told people, "No, you can't disable the 
Back button!') unless you can create a page that directly manipulates the 
browser's source code... and any browser which allowed that would be taken 
off the market for such a major security breach so fast it would make your 
head spin.

There are JavaScript solutions which can disable the context menu, but they 
are browser specific.  You could, conceivably, come up with some JavaScript 
that (a) disables the context menu; and (b) won't load in browsers that 
will not support that JavaScript function.  But this is bad practice, 
really, because building browser-specific pages is just a no-no.  I suggest 
doing a Google search on that sort of thing if that's the route you want to 
take.

A much better solution for your problem would be to simply encrypt the data 
in the query strings.  That way, if someone looks at your source code and 
sees the query strings, they won't know what it means.  Either that, or 
introduce session management (I have no idea how to do that in Perl, though 
I can point you to PHP resources for that).  Both of those strike me as 
much better solutions than relying on JavaScript which can be foiled by 
disabling a browser's scripting ability or setting up your copy of Opera to 
identify itself as MSIE.

To answer your second question, Perl can indeed create a window with no 
toolbar, etc... by outputting JavaScript to do just that.  Perl lives on 
the server.  Web pages live on the browser.  And that is that.


At 07:33 PM 12/20/2001, Andre` Niel Cameron wrote:
>Ok people dont get this.  I am making a game and I dont want them to be able
>to see form fields and function calls/quer_strings so I can prevent
>cheating!  Well any way I have a related question, with java script I can
>load a window with no menu bars,address bar etc can perl do the same if so
>please let me know how:)


Sliante,
Richard S. Crawford

http://www.mossroot.com
AIM: Buffalo2K   ICQ: 11646404  Y!: rscrawford
MSN: [EMAIL PROTECTED]

"It is only with the heart that we see rightly; what is essential is 
invisible to the eye."  --Antoine de Saint Exupéry

"Push the button, Max!"


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to