All pastes #767395 Raw Edit

Mine

public javascript v1 · immutable
·published 2007-11-09 18:48 UTC
rendered paste body
if (window.attachEvent) {    window.addEventListener = function (type,func,dummy) {        return window.attachEvent ('on' + type, func);    }}if (window.detachEvent) {    window.removeEventListener = function (type,func,dummy) {        return window.detachEvent ('on' + type, func);    }}