Skip to content
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 Leetcode's new UI issue #509

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Fix Leetcode's new UI issue #509

wants to merge 6 commits into from

Conversation

3ba2ii
Copy link

@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

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
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

@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
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

Abhishekverma2002 commented Mar 31, 2023 via email

@Abhishekverma2002
Copy link

Abhishekverma2002 commented Mar 31, 2023 via email

@3ba2ii
Copy link
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

Abhishekverma2002 commented Apr 1, 2023 via email

@s2sharpit
Copy link

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.

None yet

8 participants