Event listeners the way they should have been
As an example, left click to see the three listeners bound to the document by their name in the box right, or you can even print their functions explicitly via getEventListeners(document) , so you will always know exactly what is bound to what. Click here to unbind the click listeners with unregisterEventListener(document, 'click') (and try printing again). And you can right click anywhere to instantly remove all listeners from the document with one call to unregisterAllEventListeners(document);