Skip to content

fix: Update promo_div class name and improve robustness #5

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

anka-213
Copy link

The old code would completely fail if the promo pop-up had changed class name. Now it should complete the other fixes as usual and just ignore the missing div. The others were already robust since they use an array, which would just be empty if it wasn't found.

I also updated the selector to the new name of the promo div.

I haven't tested the full extension, but copy-pasting the main function into the js console unblurs the page as it should now.

The old code would completely fail if the promo pop-up had changed class name. Now it should complete the other fixes as usual and just ignore the missing div. The others were already robust since they use an array, which would just be empty if it wasn't found.

I also updated the selector to the new name of the promo div.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants