Recent surrogate regression
Posted: Sun Jun 13, 2010 4:23 pm
The following surrogate (which Giorgio Maone helped me with) has stopped working for me some time in the last two weeks for the https://easyweb.tdcanadatrust.com/ bank web site, after working for a over a year.
noscript.surrogate.nce.sources=@easyweb*.tdcanadatrust.com
noscript.surrogate.nce.replacement=navigator.__defineGetter__("cookieEnabled",function(){var ed=new Date; ed.setTime(0); var tc="__noscriptTestCookie_"+Math.round((Math.random()*99999)).toString(16)+"=1";document.cookie=tc;var ok=document.cookie.indexOf(tc)>-1;document.cookie=tc+";expires="+ed.toGMTString();return ok});
I think this is a NoScript regression, because I've tried several variations (eg. using '@', '!' or no prefix for the sources entry, trying '*' instead of 'easyweb*' for the sources, and using just this for the replacement:
noscript.surrogate.nce.replacement;navigator.__defineGetter__("cookieEnabled",function(){return true});
The problem happens with both the latest stable version 1.9.9.87 and the current development version 1.9.9.89.
noscript.surrogate.nce.sources=@easyweb*.tdcanadatrust.com
noscript.surrogate.nce.replacement=navigator.__defineGetter__("cookieEnabled",function(){var ed=new Date; ed.setTime(0); var tc="__noscriptTestCookie_"+Math.round((Math.random()*99999)).toString(16)+"=1";document.cookie=tc;var ok=document.cookie.indexOf(tc)>-1;document.cookie=tc+";expires="+ed.toGMTString();return ok});
I think this is a NoScript regression, because I've tried several variations (eg. using '@', '!' or no prefix for the sources entry, trying '*' instead of 'easyweb*' for the sources, and using just this for the replacement:
noscript.surrogate.nce.replacement;navigator.__defineGetter__("cookieEnabled",function(){return true});
The problem happens with both the latest stable version 1.9.9.87 and the current development version 1.9.9.89.