Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

add leetcode.signinByCookie but simple change #487

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

Merged
jdneo merged 6 commits into LeetCode-OpenSource:master from yihong0618:master
Dec 5, 2019
Merged

add leetcode.signinByCookie but simple change #487

jdneo merged 6 commits into LeetCode-OpenSource:master from yihong0618:master
Dec 5, 2019

Conversation

@yihong0618
Copy link
Contributor

@yihong0618 yihong0618 commented Dec 3, 2019
edited
Loading

This is very simple change maybe for short-term solution for #478
Sorry for the first time write ts.
Please help me review~
@jdneo
Thanks a lot.

Copy link
Member

jdneo commented Dec 3, 2019
edited
Loading

Is it possible to leverage the cookie extension:

to bypass the reCAPTCHA?


Update: Forget it, it still introduces some requirements to use. Not ideal enough

Copy link
Contributor Author

Yes, but I think this way is not so simple, I will try it tomorrow.

Copy link
Member

jdneo commented Dec 3, 2019

@yihong0618 I just took a look about the document. The cookie plugins need more requirements and they are different for different platforms. So I think it's not an ideal solution. Just forget it.

Copy link
Contributor Author

yihong0618 commented Dec 3, 2019
edited
Loading

@jdneo me either. And this solution was for one-time session at that time.
I also think we read the cookie is worse than user paste it, because users will feel unsafe(not only the leetcode session but also others).

Copy link
Contributor Author

@jdneo
cookie.chrome work.
But I think its not a good idea, it is no essential difference from the paste cookie method

Copy link
Member

@jdneo jdneo left a comment

Choose a reason for hiding this comment

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

Thank you for your effort @yihong0618.

I just have one concern about the command name. Maybe call it Sign in (by cookie) would be more easy to understand?

README.md Outdated
- You can also use the following command to sign in/out:
- You can also use the following command to sign in/cookie in/out:
- **LeetCode: Sign in**
- **LeetCode: Cookie in**
Copy link
Member

Choose a reason for hiding this comment

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

How about renaming it to Sign in (by cookie)

Copy link
Contributor Author

@yihong0618 yihong0618 Dec 4, 2019

Choose a reason for hiding this comment

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

Of course, should I also change name in leetcode.cookieIn command ?

Copy link
Contributor Author

@yihong0618 yihong0618 Dec 4, 2019

Choose a reason for hiding this comment

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

@jdneo
Have changed it~

@yihong0618 yihong0618 changed the title (削除) add leetcode.cookieIn but simple change (削除ここまで) (追記) add leetcode.signinByCookie but simple change (追記ここまで) Dec 4, 2019
package.json Outdated
"commands": [
{
"command": "leetcode.signinByCookie",
"title": "Sign In By Cookie",
Copy link
Member

Choose a reason for hiding this comment

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

nit: By should be lower case since it's a preposition

Copy link
Contributor Author

@yihong0618 yihong0618 Dec 5, 2019

Choose a reason for hiding this comment

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

Ok, I will change it right now

Copy link
Member

jdneo commented Dec 5, 2019

Hi @yihong0618, almost there. Just a typo.

Copy link
Contributor Author

Hi I fixed the typo, is that right?

Copy link
Member

jdneo commented Dec 5, 2019

LGTM. Thank you @yihong0618 for your contribution! Well done!

@jdneo jdneo merged commit 4979a0f into LeetCode-OpenSource:master Dec 5, 2019
Copy link
Member

jdneo commented Dec 5, 2019

Will release this fix before the end of this week

@jdneo jdneo added this to the 0.15.8 milestone Dec 5, 2019
Copy link
Contributor Author

Thank you~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@jdneo jdneo jdneo approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

0.15.8

Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /