Skip to content

Fix Leetcode's new UI issue#509

Open
3ba2ii wants to merge 6 commits intoQasimWani:mainfrom
3ba2ii:main
Open

Fix Leetcode's new UI issue#509
3ba2ii wants to merge 6 commits intoQasimWani:mainfrom
3ba2ii:main

Conversation

@3ba2ii
Copy link
Copy Markdown

@3ba2ii 3ba2ii commented Mar 9, 2023

This PR fixed the issue of not uploading problems to github

  1. Fixed an undefined key in browser local storage, it was supposed to be leethub_token
  2. Fixed issues that was produced by leetcode's new style guide and missing classes
  3. Used constant values to represent class names that would make it a lot easier to change in the future without the hustle
  4. Find & upload submissions code directly to Github without the need to re-request the submission page.

fixes (#507 #505 #502, #516, #514, #512, #510)

@3ba2ii 3ba2ii changed the title fix: fixed not uploading to github issue & refactored some code Adapt to Leetcode's new UI Mar 10, 2023
@sudohainguyen
Copy link
Copy Markdown

hey @3ba2ii how can I use your repo instead of waiting for this one being merged? seems like currently the original repo is not active

@3ba2ii
Copy link
Copy Markdown
Author

3ba2ii commented Mar 12, 2023

Hello @sudohainguyen, sorry for the late reply, For now you can use the following steps

  1. Download the forked repository which has the updated code
  2. run yarn install or npm install to install the packages
  3. Go to your chrome extensions tap (chrome://extensions/)
  4. Click Load Unpacked on the top left corner
  5. And select the extension project directory

🎉 PS: I published my own chrome extension that works regardless of which LeetCode UI it runs on, You can download it from here

@3ba2ii 3ba2ii changed the title Adapt to Leetcode's new UI Fix Leetcode's new UI issue Mar 19, 2023
Copy link
Copy Markdown

@Abhishekverma2002 Abhishekverma2002 left a comment

Choose a reason for hiding this comment

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

ThankYou for adding this . But can you tell me in which file to open the terminal for yarn install?

@3ba2ii
Copy link
Copy Markdown
Author

3ba2ii commented Mar 30, 2023

@Abhishekverma2002 I already published my own chrome extension that works regardless of which Leetcode UI it runs on, You can download it from here,

Its a beta version, so please let me know if you found any bug 🙌

@Abhishekverma2002
Copy link
Copy Markdown

Abhishekverma2002 commented Mar 31, 2023 via email

@Abhishekverma2002
Copy link
Copy Markdown

Abhishekverma2002 commented Mar 31, 2023 via email

@3ba2ii
Copy link
Copy Markdown
Author

3ba2ii commented Mar 31, 2023

Hello @Abhishekverma2002, Unfortunately, you cannot create a Google Chrome extension using Java. Chrome extensions can only be developed using JavaScript, HTML, and CSS. However, if you are familiar with Java and want to create an extension, you can consider using a tool or framework that allows you to write JavaScript using Java syntax, such as TeaVM or GWT.

But its recommended to use JavaScript or TypeScript (That will be compiled to JS on build) to build a chrome extension

@Abhishekverma2002
Copy link
Copy Markdown

Abhishekverma2002 commented Apr 1, 2023 via email

@s2sharpit
Copy link
Copy Markdown

s2sharpit commented Aug 24, 2023

Hi @QasimWani @adityakanu @Abhishekverma2002 ,
Is this extension deprecated? If not, then please solve the new UI issue.

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.

8 participants