Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to remove 'Update Available' popup? #194

Closed
wefalltomorrow opened this issue Dec 5, 2021 · 5 comments
Closed

Add option to remove 'Update Available' popup? #194

wefalltomorrow opened this issue Dec 5, 2021 · 5 comments
Labels
enhancement New feature or request

Comments

@wefalltomorrow
Copy link

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

image

@wefalltomorrow wefalltomorrow added the enhancement New feature or request label Dec 5, 2021
@vednoc
Copy link
Owner

vednoc commented Dec 29, 2021

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.

@kyle-ds
Copy link
Contributor

kyle-ds commented Jan 5, 2022

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

@kyle-ds
Copy link
Contributor

kyle-ds commented Jan 24, 2022

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.

@wefalltomorrow
Copy link
Author

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!

@vednoc
Copy link
Owner

vednoc commented Mar 31, 2023

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 vednoc closed this as completed Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants