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

GM_xmlhttpRequest doesn't remember session #2048

Closed
athoik opened this issue Oct 31, 2014 · 2 comments
Closed

GM_xmlhttpRequest doesn't remember session #2048

athoik opened this issue Oct 31, 2014 · 2 comments

Comments

@athoik
Copy link

athoik commented Oct 31, 2014

After upgrading Firefox to 33.0.2 a greasemonkey script stopped working.

It seems that Firefox with the History option "Never remember history" now also forgets session (I was getting error not authenticated) on GM_xmlhttpRequest.

After changed History option to "Remember history" seems that GM_xmlhttpRequest works again.

@arantius arantius added this to the Pony milestone May 29, 2015
@janekptacijarabaci
Copy link
Contributor

Not confirmed on:
Firefox 38.0.1, 41.0a1 (2015-05-29), GM 3.2

Gist: https://gist.github.com/janekptacijarabaci/8b969e5f48a305d91fd7

Result:
GM_xmlhttpRequest() 2: status: 200 statusText: OK (show login prompt)
GM_xmlhttpRequest() 3: status: 200 statusText: OK

Reloading page (F5):
GM_xmlhttpRequest() 2: status: 200 statusText: OK (does not show login prompt)
GM_xmlhttpRequest() 3: status: 200 statusText: OK

Or I did not understand a issue?

Show login prompt - however only e10s off (why?!)
e10s on:
(does not show login prompt)
GM_xmlhttpRequest() 2: status: 401 statusText: Authorization Required
GM_xmlhttpRequest() 3: status: 401 statusText: Authorization Required
1
2
...it comes to the same thing.

XMLHttpRequest() - OK (show login prompt)

@athoik
Copy link
Author

athoik commented May 30, 2015

Ok, it seems that it was fixed in a newer FF version.

Currently the script I am using is working without problems with "Remember history", so I didn't make any further test.

Thanks for confirming that works with latest FF.

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

No branches or pull requests

3 participants