Gareth Heyes Wrote:
-------------------------------------------------------
> Can this be beaten?
>
> http://www.thespanner.co.uk/2009/04/08/overwriting
> -native-functions-in-javascript/
Yes, it can be beaten quite easily:
try { // Firefox
delete window.alert;
} catch(e) { // IE
with(document) window.alert = body.appendChild(createElement("frame")).contentWindow.alert;
}
--
*
hackademix.net*
There's a browser safer than Firefox... Firefox, with NoScript