Giter Club home page Giter Club logo

Comments (17)

tomer8007 avatar tomer8007 commented on June 4, 2024 2

Yes, these should now be fixed.

I'll now try to reproduce your Cannot set property 'className' of null.

from whatsapp-web-incognito.

timea-techgirl avatar timea-techgirl commented on June 4, 2024 1

Loaded unpacked extension. No errors so far.

from whatsapp-web-incognito.

timea-techgirl avatar timea-techgirl commented on June 4, 2024

When I click on cancel after it gets stuck at 1 second, I get this. The number "4" keeps changing to 5, 6, 7 as many times as I click on cancel.

4 Main.js:399 Uncaught TypeError: Cannot set property 'className' of null
    at markChatAsBlocked (Main.js:399)
    at HTMLDivElement.cancelButton.onclick (Main.js:381)

from whatsapp-web-incognito.

tomer8007 avatar tomer8007 commented on June 4, 2024

Hi, thank you for the detailed report.

I was aware of the first problem, but not of the second one.
I'll try to fix this as soon as possible and let you know.

from whatsapp-web-incognito.

timea-techgirl avatar timea-techgirl commented on June 4, 2024

There are even more errors at random times.

Uncaught (in promise) Error: invalid token 174
    at NodeParser.getToken (chrome-extension://alhmbbnlcggfcjjfihglopfopcbigmil/core/NodeParser.js:163)
    at NodeParser.readString (chrome-extension://alhmbbnlcggfcjjfihglopfopcbigmil/core/NodeParser.js:124)
    at NodeParser.readNode (chrome-extension://alhmbbnlcggfcjjfihglopfopcbigmil/core/NodeParser.js:81)
    at NodeParser.readList (chrome-extension://alhmbbnlcggfcjjfihglopfopcbigmil/core/NodeParser.js:185)
    at NodeParser.readNode (chrome-extension://alhmbbnlcggfcjjfihglopfopcbigmil/core/NodeParser.js:91)
    at NodeParser.readList (chrome-extension://alhmbbnlcggfcjjfihglopfopcbigmil/core/NodeParser.js:185)
    at NodeParser.readNode (chrome-extension://alhmbbnlcggfcjjfihglopfopcbigmil/core/NodeParser.js:91)
    at chrome-extension://alhmbbnlcggfcjjfihglopfopcbigmil/core/Main.js:74
chrome-extension://alhmbbnlcggfcjjfihglopfopcbigmil/core/NodeParser.js:163 Uncaught (in promise) Error: invalid token 167
    at NodeParser.getToken (chrome-extension://alhmbbnlcggfcjjfihglopfopcbigmil/core/NodeParser.js:163)
    at NodeParser.readString (chrome-extension://alhmbbnlcggfcjjfihglopfopcbigmil/core/NodeParser.js:124)
    at NodeParser.readAttributes (chrome-extension://alhmbbnlcggfcjjfihglopfopcbigmil/core/NodeParser.js:177)
    at NodeParser.readNode (chrome-extension://alhmbbnlcggfcjjfihglopfopcbigmil/core/NodeParser.js:85)
    at chrome-extension://alhmbbnlcggfcjjfihglopfopcbigmil/core/Main.js:74
chrome-extension://alhmbbnlcggfcjjfihglopfopcbigmil/core/NodeParser.js:163 Uncaught (in promise) Error: invalid token 167
    at NodeParser.getToken (chrome-extension://alhmbbnlcggfcjjfihglopfopcbigmil/core/NodeParser.js:163)
    at NodeParser.readString (chrome-extension://alhmbbnlcggfcjjfihglopfopcbigmil/core/NodeParser.js:124)
    at NodeParser.readAttributes (chrome-extension://alhmbbnlcggfcjjfihglopfopcbigmil/core/NodeParser.js:178)
    at NodeParser.readNode (chrome-extension://alhmbbnlcggfcjjfihglopfopcbigmil/core/NodeParser.js:85)
    at chrome-extension://alhmbbnlcggfcjjfihglopfopcbigmil/core/Main.js:33

from whatsapp-web-incognito.

tomer8007 avatar tomer8007 commented on June 4, 2024

Oh yeah, The invalid token errors are happening from time to time when WhatsApp decides to add more tokens to their protocol.

Sometimes I keep up with them but it does not really cause any problems with the UI or the functionality of the extension.

from whatsapp-web-incognito.

timea-techgirl avatar timea-techgirl commented on June 4, 2024

That's true, despite these errors, everything seems to work.
But clicking on "Mark as read" (nothing happens but still the receipts are sent I think) or getting stuck on "Sending read receipts in 1 second..." are the real issues.

from whatsapp-web-incognito.

tomer8007 avatar tomer8007 commented on June 4, 2024

Hmm, the className error actually did not show up on my client (blockedChat.querySelector("html[dir] .P6z4j") returned something as expected).

I did add the tokens, though.

from whatsapp-web-incognito.

timea-techgirl avatar timea-techgirl commented on June 4, 2024

Oh I see. I'm getting this now when I click cancel and if the click works:

Main.js:147 TypeError: exceptionsList.remove is not a function
    at Object.NodeHandler.handleSentNode (Main.js:138)
    at Main.js:43

As I observed, the classname error happens only when the cancel button doesn't work after clicking.

from whatsapp-web-incognito.

tomer8007 avatar tomer8007 commented on June 4, 2024

exceptionsList.remove is the old error. Are you using the fixed version?

from whatsapp-web-incognito.

tomer8007 avatar tomer8007 commented on June 4, 2024

Version 1.5.1 should be live on the web store shortly.

from whatsapp-web-incognito.

timea-techgirl avatar timea-techgirl commented on June 4, 2024

Sometimes the button clicks for Mark as read or cancel aren't working as before but not as often. When I click on them, it gives the error:

Main.js:411 Uncaught TypeError: Cannot set property 'className' of null
    at markChatAsBlocked (Main.js:411)
    at HTMLDivElement.cancelButton.onclick (Main.js:393)

from whatsapp-web-incognito.

timea-techgirl avatar timea-techgirl commented on June 4, 2024

If you can't get these errors even once, then the fault is at my side. I have some xposed modules installed which may cause it. You can close the issue. :)

Thanks for everything!

from whatsapp-web-incognito.

tomer8007 avatar tomer8007 commented on June 4, 2024

Hmm, how come Xposed modules can cause changes like this if they're patching the Android app?
(By the way, do you have recommended Xposed modules for WhatsApp mobile?)

from whatsapp-web-incognito.

timea-techgirl avatar timea-techgirl commented on June 4, 2024

Oh I don't know if they can but if you can't reproduce my errors, I think that's the only change between your setup and mine.

Are you on telegram?

from whatsapp-web-incognito.

tomer8007 avatar tomer8007 commented on June 4, 2024

Oh well.

(not really on telegram, just wanted to know if the 'WhatsApp Extensions' module is actually working and stable across versions)

from whatsapp-web-incognito.

tomer8007 avatar tomer8007 commented on June 4, 2024

Cool, thanks

from whatsapp-web-incognito.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.