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
GM_Cookie #603
Comments
GM_Cookie is not supported by other userscript managers (TM only has it in beta) so we won't implement it either. Violentmonkey now exposes protected HTTP headers to GM_xmlHttpRequest event handlers so it should be possible to read all of the cookies from We will implement it once it's out of beta in Tampermonkey and actually works in its stable release. |
Would it be possible to reconsider this feature? There are so many cases now where I've been unable to support websites because of lack of I should also add that even when |
This comment has been minimized.
This comment has been minimized.
No. I've just debugged Tampermonkey stable and it does not actually implement GM_cookie. All it has is a dummy function that always returns an We will implement it once it's out of beta in Tampermonkey and actually works in its stable release. |
I'm thinking of creating an npm package, something similar to this instagram-stories. Similar packages and scrappers usually require credentials (cookies). Most user scripts developers would go through the trouble of creating a tutorial on how to extract the required credentials, see this developer. That is why I think it would be a good idea for me to create a user script that exports the required credentials to a file that later can be used with my npm package. |
Hello @tophf & @gera2ld, I encountered an issue that only this API can solve, please consider implementing it. I reported this at 3 different places, choose where to read it from :
Thanks |
Implementation of Tampermonkey/tampermonkey#465 and greasemonkey/greasemonkey#1802 . This would be very useful for my userscript, as it requires a few API calls that need cookies from the websites to access otherwise private user data (original images for Flickr etc.).
document.cookie
does not contain server-side cookies, which are needed for this unfortunately.The text was updated successfully, but these errors were encountered: