Comments (17)
Yes, these should now be fixed.
I'll now try to reproduce your Cannot set property 'className' of null
.
from whatsapp-web-incognito.
Loaded unpacked extension. No errors so far.
from whatsapp-web-incognito.
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.
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.
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.
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.
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.
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.
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.
exceptionsList.remove
is the old error. Are you using the fixed version?
from whatsapp-web-incognito.
Version 1.5.1 should be live on the web store shortly.
from whatsapp-web-incognito.
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.
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.
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.
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.
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.
Cool, thanks
from whatsapp-web-incognito.
Related Issues (20)
- WhatsApp Web gets stuck on "Loading your chats" when linking your device HOT 1
- Reactions remain unread HOT 19
- Jjj
- WhatsApp kh
- Feature Request: Script of the extension to work with Violent Monkey/TamperMonkey HOT 1
- Show Device of Messages stopped working HOT 35
- "Failed to restore message" HOT 21
- version 2.0.2+ doesn't work on Firefox: service_worker is not supported HOT 14
- Media stories not showing. (Only text stories) HOT 1
- Not syncing messages properly HOT 13
- Pinned, archived channels not synced HOT 3
- "Don't send "Last Seen" and "Typing" updates" checkbox changes don't update immediately HOT 9
- Restore edited message HOT 1
- Extension breaks after WhatsApp version 2.3000 HOT 31
- Icon appears twice in status bar sometimes [Race] HOT 1
- Profile Photo Change Notification HOT 2
- Could not decrypt Noise packet (multi_device.js:104 ReferenceError: pako is not defined) HOT 1
- Modal window is greyed out and freeze the page
- Bugs and Improvement HOT 1
- Icon disappear right after unlocking WhatsApp HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from whatsapp-web-incognito.