Last modified: 2010-05-15 15:38:12 UTC
I am using IE 5.2.3 on my Mac osX 10.4.2 system Whenever I load ANY wikipedia page, i get an Internet Explorer Script Alert message "handler could not be removed" I asked http://ask.metafilter.com/ about the problem, and they said it may be javascript on your end. Here is what a poster told me: Not your browser, just some wonky javascript: function addEvent(elm, evType, fn, useCapture) // addEvent and removeEvent // cross-browser event handling for IE5+, NS6 and Mozilla // By Scott Andrew { if (elm.addEventListener){ elm.addEventListener(evType, fn, useCapture); return true; } else if (elm.attachEvent){ var r = elm.attachEvent("on"+evType, fn); return r; } else { alert("Handler could not be removed"); } } It checks for a couple of event-binding methods and if they're not available in your browser (they're not in IE Mac), it pops the alert message. Replacing the alert with old-school bracket notation event binding ought to fix it: elm['on'+evType]=fn; Is this the problem? Or is it on my end? Thanks James
Experimental patch from bug 2001 which caused this; I've backed it out.