hohMiyazawa
hohMiyazawa
b) Makes native use of the API fail until something is refreshed again.
But at least the site does not autorefresh instantly when the token is changed to something invalid.
That confirms that anilist is checking ``window.al_token`` after creation though! Very nice.
I imagine two types of script functionality are possible: 1) Broadcast session tokens from newly refreshed tabs to old stale tabs. Will solve some of the issue, but will not...
I already have cross-tabl-communication shenanigans :3 The fewer requests sent the better. But yeah, as it's just requesting a couple of hundred bytes of HTML it should be fine. Currently...
As expected, different browsers open have different access tokens. Tokens appear to be random in content. I still have the same token as 40min ago.
And now I got a new one.
Updating a stale tab with a new access token, and then crossing out the "session expired" message appears to work fine.
Do you prefer to be named or not in a shout-out post?
If tokens can't be issued until the previous one expires, it's inevitable to have those "session expired" messages from time to time during regular browsing. (Unless one frequently polls, and...