Skip to content

updated the language selection using document#534

Open
shivprime94 wants to merge 1 commit intoQasimWani:mainfrom
shivprime94:main
Open

updated the language selection using document#534
shivprime94 wants to merge 1 commit intoQasimWani:mainfrom
shivprime94:main

Conversation

@shivprime94
Copy link
Copy Markdown

@shivprime94 shivprime94 commented May 3, 2023

updated the language selection, which was previous not working

@sanjai0py
Copy link
Copy Markdown

sanjai0py commented Jun 12, 2023

This code works for finding the language in the new LC UI

const findLang = ()=>{ const elem = document.getElementsByClassName("notranslate") return elem[0].innerText }

Comment thread scripts/leetcode.js
'ant-select-selection-selected-value',
),
...document.getElementsByClassName('Select-value-label'),
...document.getElementsByTagName("div")[133]
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

on my window, this code grabs the footer part. please check

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