|
 |
javascript thread: disable close button
Message #1 by "Natividad Castro" <natocastro@h...> on Mon, 15 Jul 2002 07:44:56 -0400
|
|
Indeed. =0
Boloian, John wrote:
>Still easy to get to... cache, or typing the url to the javascript
include.
>
>-----Original Message-----
>From: Perley Dexter [mailto:perley@n...]
>Sent: Friday, July 19, 2002 8:37 AM
>To: javascript
>Subject: [javascript] RE: disable close button
>
>
>3) Put your code in a JScript include page. =)
>
>
>Joe Fawcett wrote:
>
>
>>OK, here it is once and for all. You CANNOT:
>>1) Prevent the user closing the browser. If you want to do something
>use the
>>event handler 'onunload' or in IE 'onbeforeunload'.
>>2) Disable the 'Back button'. You can use window.replace to prevent user
>>from accessing pages in an incorrect order if you do not use direct
>links
>>and they have JavaScript enabled.
>>3) Stop someone viewing your JavaScript source code.
>>As I see these questions asked everyday on various lists then perhaps
>this
>>will save time but somehow I doubt it :)
>>If anyone wants to bet on any of these things being possible without
>ActiveX
>>controls I'm willing to relieve them of their money.
>
>
>---
>
>Improve your web design skills with these new books from Glasshaus.
>
>Usable Web Menus
>http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
>r-20
>Constructing Accessible Web Sites
>http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
>r-20
>Practical JavaScript for the Usable Web
>http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
>r-20
>
------------------------------
/*****************************
Perley Dexter
INFT Programmer/Analyst
Norwich University
Norhtfield VT 05663
xxx-xxx-xxxx
*****************************/
|
|
 |