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

JavaScript to get cookie in ReadMe is broken? #17

Closed
TangentFoxy opened this issue Jul 17, 2017 · 10 comments
Closed

JavaScript to get cookie in ReadMe is broken? #17

TangentFoxy opened this issue Jul 17, 2017 · 10 comments

Comments

@TangentFoxy
Copy link

While logged in, running the script is returning an empty string.

@TangentFoxy
Copy link
Author

I managed to find the cookies using Firefox's dev tools, but it seems that for some reason the a and b cookies vanish after page load? I don't get it but they don't show up.

@boothale
Copy link
Collaborator

That code only works on the "classic" version of the site. You'll need to log into an account that has beta mode disabled.

@TangentFoxy
Copy link
Author

@boothale So I just found out where the setting for beta vs classic is and I have never used the beta before. I was getting this problem on classic. I've just tried it again in both, and still have this error.

@boothale
Copy link
Collaborator

boothale commented Aug 19, 2017

Did more testing and confirmed that this happens in Chrome. As a work around, if you open the requests tab and look at the primary request, the cookies should be listed.

The javascript still seems to work on my version of Firefox.

@boothale
Copy link
Collaborator

boothale commented Nov 5, 2017

Since I haven't heard back in a while I'm closing this. Please reopen if you still need help.

@boothale boothale closed this as completed Nov 5, 2017
@TangentFoxy
Copy link
Author

TangentFoxy commented Nov 5, 2017 via email

@ShaunDreclin
Copy link

ShaunDreclin commented May 3, 2018

Any chance of providing a script to get your cookies from the beta site?
Or barring that, I have my a and b cookies, how would I turn those into an FA_COOKIE string?

@TangentFoxy
Copy link
Author

@ShaunDreclin The ReadMe shows exactly how to assemble the string. b=<stuff>; a=<stuff>

@ShaunDreclin
Copy link

Ooh gotcha. I was reading /docs, didn't think to check both pages. Thanks ^^

@boothale
Copy link
Collaborator

boothale commented May 5, 2018

I added an example to /docs as well so people don't have to go to the readme.

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

3 participants