Fixing an annoying Whatsapp “feature”

This is a short post. Whatsapp had the archived chat feature for a while, I started finding it at a point since I would keep track of the number:

Well, I thought maybe I could write a script, perhaps an extension to hide it, since well, I was able to…


This content originally appeared on DEV Community 👩‍💻👨‍💻 and was authored by Talha Aamir

This is a short post. Whatsapp had the archived chat feature for a while, I started finding it at a point since I would keep track of the number:
archived count

Well, I thought maybe I could write a script, perhaps an extension to hide it, since well, I was able to do as much with devtools by inspecting and adding display:none.

It's janky but it works, I mean all it needs to do is upon the page load, get the element of the div with the number by classname, and add the style display:none.

Seems pointless, but well it was fun little thing to find I could do.
Here's how it looks after it:

No archived count

Here's the script,

chrome

firefox

P.S. Haven't documented adding it, probably cause I've been the only one using it.


This content originally appeared on DEV Community 👩‍💻👨‍💻 and was authored by Talha Aamir


Print Share Comment Cite Upload Translate Updates
APA

Talha Aamir | Sciencx (2022-09-16T22:12:30+00:00) Fixing an annoying Whatsapp “feature”. Retrieved from https://www.scien.cx/2022/09/16/fixing-an-annoying-whatsapp-feature/

MLA
" » Fixing an annoying Whatsapp “feature”." Talha Aamir | Sciencx - Friday September 16, 2022, https://www.scien.cx/2022/09/16/fixing-an-annoying-whatsapp-feature/
HARVARD
Talha Aamir | Sciencx Friday September 16, 2022 » Fixing an annoying Whatsapp “feature”., viewed ,<https://www.scien.cx/2022/09/16/fixing-an-annoying-whatsapp-feature/>
VANCOUVER
Talha Aamir | Sciencx - » Fixing an annoying Whatsapp “feature”. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/09/16/fixing-an-annoying-whatsapp-feature/
CHICAGO
" » Fixing an annoying Whatsapp “feature”." Talha Aamir | Sciencx - Accessed . https://www.scien.cx/2022/09/16/fixing-an-annoying-whatsapp-feature/
IEEE
" » Fixing an annoying Whatsapp “feature”." Talha Aamir | Sciencx [Online]. Available: https://www.scien.cx/2022/09/16/fixing-an-annoying-whatsapp-feature/. [Accessed: ]
rf:citation
» Fixing an annoying Whatsapp “feature” | Talha Aamir | Sciencx | https://www.scien.cx/2022/09/16/fixing-an-annoying-whatsapp-feature/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.