tomer8007 / whatsapp-web-incognito

A Chrome extension that disables read receipts and presence updates on WhatsApp Web
MIT License
313 stars 74 forks source link

`nodeParser.readNode` fails to `readAttributes` #9

Closed shenzhigang closed 4 years ago

shenzhigang commented 4 years ago

Steps to reproduce the issue :

  1. Installed the original WAIncognito extension in Chrome Web Store.
  2. Login web.whatsapp.com.
  3. Open DevTools in chrome.
  4. Set WAdebugMode = true
  5. Receive a message .
  6. The element next to "message" is always undefined. c

Then I looked into this element from source code.

a

Is it implied that the readNode is not work with the lastest version of whatsapp ? Thanks.

tomer8007 commented 4 years ago

Are you sure the attributes are not supposed to be undefined in this case? I can see that at least for some other types of payloads it contains some data :

image

shenzhigang commented 4 years ago

In some cases, it's not undefined. Thanks.