Closed halvabner closed 1 year ago
+1 the same as you
@halvabner @Cupcc I replaced the method from GET
to POST
per @NoahXcl's solution in #7 can you tell me if it works now?
@adamlui I updated and tested but it still doesn't work. This is a screenshot of what happens in the console when I try to use the chat after a period of idling:
However I noticed something that might be related? It never stops sending the requests. But I noticed that at some point in time (notice the timestamps) there's an error saying something about cloudflare. Could it be that cloudflare expires the session without caring that we're sending POST requests?
This is a screenshot of when something goes wrong (I think?):
@halvabner can you update the script to the latest version that sends requests every 30s? (two users reported that fixes the issue)
@adamlui i tried with 30s. Still doesn't work :(
+1 the same as you
+1 the same as you
@halvabner @maplepicker I replaced the autorefresh method w/ a headless one I tested to work even after an hour in the latest update!
@adamlui it looks like it's finally working now :^)
@halvabner do you think you could leave a review that it works on Greasy Fork? (It was really hard for me to brainstorm/write the solution)
@adamlui sure
Browser: Chromium 109.0.5414.119 Arch Linux Userscript: version 2023.04.06 Userscript Manager: Tampermonkey 4.18.1
Let me know if you need more logs / debug info