-
Notifications
You must be signed in to change notification settings - Fork 8
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
Fix detection of LeetCode V2 using improved document query logic #52
Fix detection of LeetCode V2 using improved document query logic #52
Conversation
Enhanced the function isLeetCodeV2 to more accurately determine if the current page is a version of LeetCode. The function now checks for the presence of specific root elements and body classes that indicate whether the page is using Chakra UI light or dark themes, as well as the presence of the "__next" root element. This ensures a more reliable and precise detection of LeetCode's version and UI themes, improving the overall functionality of the script. Issue: QasimWani#51
it worked for me. Thank you, @aystream ! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can also confirm this works on my local machine. @arunbhardwaj could you please merge?
@arunbhardwaj can you pls merge? |
Fixed submissionId for send solution, also a bit more from arunbhardwaj/LeetHub-2.0#52 in this pull request.
Is the owner alive or somebody has created leethub3 extension |
@sidhant-khamankar I have created Leethub-3.0 because owner is not responding. Leethub-3.0 is working with the new "dynamic" UI. Please check https://github.com/raphaelheinz/LeetHub-3.0/ |
ok thanks |
Enhanced the function isLeetCodeV2 to more accurately determine if the current page is a version of LeetCode. The function now checks for the presence of specific root elements and body classes that indicate whether the page is using Chakra UI light or dark themes, as well as the presence of the "__next" root element. This ensures a more reliable and precise detection of LeetCode's version and UI themes, improving the overall functionality of the script.
Issue: #51