-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat: leetcode 업로드 개선 필요 (feat. Chrome extension) #1
Labels
enhancement
New feature or request
Comments
버전
코드 수정
// 기존
const URL = `https://api.github.com/repos/${hook}/contents/${problem}/${filename}`;
// 변경 (LeetCode 경로를 추가)
const URL = `https://api.github.com/repos/${hook}/contents/LeetCode/${problem}/${filename}`;
업데이트
오류 수정오류A. button null
오류B. invalidated 에러인 경우
// check success state for a normal problem
if (
checkElem(successTag) &&
successTag[0].className === 'success__3Ai7' &&
successTag[0].innerText.trim() === 'Success'
) {
console.log(successTag[0]);
successTag[0].classList.add('marked_as_success');
return true;
}
// check success state for a explore section problem
else if (
resultState &&
resultState.className === 'text-success' &&
resultState.innerText === 'Accepted'
) {
resultState.classList.add('marked_as_success');
return true;
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
leetcode 업로드 개선점
상황
이슈 내용
=> 10일차가 되니 해당 이슈가 확연히 보입니다.
/leetcode
폴더 내에 업로드 되었으면 함방법 찾기
The text was updated successfully, but these errors were encountered: