Enchancement, make a hijackVar? code provided.
GoogleCodeExporter opened this issue · comments
Google Code Exporter commented
make a function hijackVar for logging everytime a variable's content is
accessed.
code:
AttackAPI.dom.hijackVar = function (varo,callback) {
if(varo.hijacked)return varo;
var varn=Object();
varn.original=varo;
varn.valueOf=varn.toSource=varn.toString=function () {
if(callback)callback();
return this.original;
};
};
Original issue reported on code.google.com by sirdarckcat
on 12 Aug 2007 at 6:49
Google Code Exporter commented
Original comment by pdp.gnucitizen
on 10 Feb 2011 at 4:51
- Changed state: WontFix