Some of the third party plugin will attach the eventListener into the site. How to I remove the eventListener without knowing the function that attached.
eventListener
Unfortunately, you cannot do that. You need to have a reference to the event handler function in order to remove it by removeEventListener.
removeEventListener
Your only option if you cannot get that reference would be by entirely replacing that Node.
Node