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

Cookie expires in a very short term #9

Open
nlpsuge opened this issue Oct 29, 2019 · 6 comments
Open

Cookie expires in a very short term #9

nlpsuge opened this issue Oct 29, 2019 · 6 comments

Comments

@nlpsuge
Copy link

nlpsuge commented Oct 29, 2019

Cookie expires in a very short term after logging in a site within this extension.

But if I log in using a regular browser such as Chrome, I'll not be logged out unless I delete the cookies manually.

@sunwxg
Copy link
Owner

sunwxg commented Oct 30, 2019

Cookie is not saved in this extension.

@nlpsuge
Copy link
Author

nlpsuge commented Oct 30, 2019

Will you support this feature to save cookies?

It should be a big time-saver, because I'm able to save the result(s) by using the online service such as dictionary.cambridge.org, etc.

@sunwxg
Copy link
Owner

sunwxg commented Oct 30, 2019

Okay, I will consider to add a option to enable cookie.

@nlpsuge
Copy link
Author

nlpsuge commented Nov 7, 2019

Hi,

I've updated to the latest version, which support to store cookie. And I saw your code too.

But I couldn't find this folder '/run/dict' was created. Is this normal?

@sunwxg
Copy link
Owner

sunwxg commented Nov 7, 2019

Yes, I also can't find '/run/dict', I don't know the reason now.
context.get_cookie_manager().set_accept_policy(Webkit.CookieAcceptPolicy.ALWAYS);
This line enable the cookie.

@nlpsuge
Copy link
Author

nlpsuge commented Nov 14, 2019

Try to change the name '/run/dict' to 'dict', I could find a folder named 'dict' in the home folder. Not true about if it's helpful for persisting the cookies. By the way, it seems that the cookies will be expired after reboot.

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

No branches or pull requests

2 participants