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

cookieRefresh() now independent of NodeJS server #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

neiljackson1984
Copy link

Introduced a new function refreshAlexaCookieWithoutRelyingOnTheNodeJsServer() which is able to refresh the Alexa cookie without relying on an external NodeJS server.
Modified the refreshCookie() and getCookie() functions so that refreshAlexaCookieWithoutRelyingOnTheNodeJsServer() is invoked when and if the attempt to refresh the cookie using the external NodeJS server fails.
Added a bunch of verbiage to the preferences page to explain the cookie refresh process and haw gabriele-v's AlexaCookieNodeJs program fits into the puzzle.

Introduced a new function refreshAlexaCookieWithoutRelyingOnTheNodeJsServer() which is able to refresh the Alexa cookie without relying on an external NodeJS server.
Modified the refreshCookie() and getCookie() functions so that refreshAlexaCookieWithoutRelyingOnTheNodeJsServer() is invoked when and if the attempt to refresh the cookie using the external NodeJS server fails.
Added a bunch of verbiage to the preferences page to explain the cookie refresh process and haw gabriele-v's AlexaCookieNodeJs program fits into the puzzle.
@neiljackson1984
Copy link
Author

I updated the native cookie refresh behavior so that we will now attempt to do a native cookie refresh only if our attempt to refresh the cookie via an external NodeJS server fails. I also added some verbiage to the preferences page to explain the cookie refresh process and how the NodeJS server fits into the process.

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.

1 participant