Skip to content

Conversation

@sweetwisdom
Copy link

Use the new selector to fix the bug where the extension not working due to GitHub's updates.

document.querySelector('.react-directory-add-file-icon')?.parentElement?.parentElement
image

@sweetwisdom sweetwisdom changed the title Update menuElement querySelector support new github version May 20, 2025
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.

1 participant