View Single Post
Old 12-10-2012, 05:59 PM   PM User | #4
felgall
Master Coder

 
felgall's Avatar
 
Join Date: Sep 2005
Location: Sydney, Australia
Posts: 5,447
Thanks: 0
Thanked 496 Times in 488 Posts
felgall is a jewel in the roughfelgall is a jewel in the roughfelgall is a jewel in the rough
That script does nothing useful at all - all anyone need do is to turn JavaScript off for your page so that it doesn't run - something that anyone likely to want to be able to do would have an option displayed in their browser status bar to do with one click.

The only situation where anything to do with "disable" something works with JavaScript is where the visitor to your page disables the script that is blocking what they want to do.
__________________
Stephen
Learn Modern JavaScript - http://javascriptexample.net/
Helping others to solve their computer problem at http://www.felgall.com/
felgall is offline   Reply With Quote