Seedmanc / Booru-mass-uploader

This userscript allows you to mass-upload images to imageboard sites running *booru engines.
MIT License
34 stars 12 forks source link

Uploader page incorrecly indicates login status with Danbooru #19

Open Seedmanc opened 7 years ago

Seedmanc commented 7 years ago

Apparently Danbooru only uses localstorage for login status retention and the script currently also requires a username from the cookies to consider the user as logged in. Other engines might be affected too, need to figure out how to determine the login status if localStorage only has the auth_token.

Seedmanc commented 5 years ago

Please report if you have experienced the same issue, I'm not sure if this really happens or it was a coincidence of sorts.

ProximaNova commented 4 years ago

It is still a problem to this day. If I understand correctly,

it is also the cause of this bug: https://github.com/Seedmanc/Booru-mass-uploader/issues/23

You will encounter the same problem if you try to login to a Danbooru website with the CLI program curl; it may return an error web page of the site. This happens when it fails due to an input value changing on each refresh; if you "refresh" twice it will not work. (If you "refresh" once it may or may not work.) See also https://www.youtube.com/watch?v=tCfB6BP-PN4 and https://www.youtube.com/watch?v=XcgQUsorF_8

sioc-de-narf commented 9 months ago

I got the same trouble