This is probably not the direction you are entering, but there are several cases where you cannot remove the event listener.
( ) :
myLink.onclick = function () {
alert('hello, world');
};
myLink.onclick = function () {
alert('muahahahaha');
};
myLink.onclick = null;
. - :
myLink.addEventListener('click', function () {
alert('hello, world');
}, false);
. , , .