I am having the following HTML file protected through JavaScript.
It works fine with Firefox, howover, when it is opened with IE, the JavaScript seems not get invoked. T
IE 8 and above makes prompt an unsafe method, which may be ignored or called with a security confirmation, as set in advanced properties of IE by the user. (IE uses activeX in window.prompt)
Security updates may also apply this behavior to IE7.
Get the input from an input field instead of a prompt, at least in IE.