dark-whatsapp icon indicating copy to clipboard operation
dark-whatsapp copied to clipboard

Add option to remove 'Update Available' popup?

Open wefalltomorrow opened this issue 3 years ago • 4 comments

Would be great if there was a way to remove this with the theme:

image

wefalltomorrow avatar Dec 05 '21 08:12 wefalltomorrow

I no longer use WA, so this is not something that I can implement. Moreover, catching a unique selector for that state is very hard; I managed to do it a couple of times during all these years of maintaining DWA. It's a randomly generated one, too, so it would likely break quite often.

vednoc avatar Dec 29 '21 19:12 vednoc

If I remember, I'll try and grab it the next time I see it... but that is unlikely.

kyle-ds avatar Jan 05 '22 16:01 kyle-ds

Finally grabbed the class for that span (through beta in Ferdi anyways): document.getElementsByClassName("_3z9_h")[0].style.display="none" works. If I have time i'll try and figure out how to put it in the style.

kyle-ds avatar Jan 24 '22 15:01 kyle-ds

Finally grabbed the class for that span (through beta in Ferdi anyways): document.getElementsByClassName("_3z9_h")[0].style.display="none" works. If I have time i'll try and figure out how to put it in the style.

Awesome, thank you!

wefalltomorrow avatar Jan 25 '22 07:01 wefalltomorrow

There's an update and a solution to this issue in #199. With the availability of :has() pseudo-class, the fix is pretty trivial.

vednoc avatar Mar 31 '23 21:03 vednoc