What's the easiest way to disable event listeners? #3030
Closed
tinyCoder32
started this conversation in
General
Replies: 1 comment
-
|
@tinyCoder32 event listeners are part of the core of WA-JS, disabling it, will make WA-JS (WPP) be useless. you can search on code base: If you really don't need any emit for your extension only the functions it self to send message, etc. I would recommend to fork wa-js and comment all those lines. For now there are much more important stuff them just adding a flag to not emit anything. But PR are welcome. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello. What is the simplest method to disable event listeners? I want to prevent WPP from adding listeners to the original WhatsApp events because frequent updates to WhatsApp often disrupt certain functionalities in WhatsApp Web, like receiving messages (which has happened recently). Given that it takes about three days for an extension update to be approved, this situation can be quite frustrating for users.
Beta Was this translation helpful? Give feedback.
All reactions