If a div has an event, and the function is an anonymous function passed in some long minified JS. How can I from console remove that event?
I have tried cloning and replacing, or replacing outerHTML, but both methods affect all the innerHTML.
Is there a way to remove the eventListener without referencing the function itself? Just remove all the eventlisteners attached to the div?