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
xmlHttpRequest.open no longer accepts path without protocol and host #2771
Comments
In my work‐around, I had to append |
Running requests from a content script context (which userscripts are run in) must use full urls. If you don't want to use full urls then you can use the methods on |
Thanks very much for your help. |
Maybe. I don't really know. Perhaps down the line |
FTR my script is a |
This is not intended, so it shouldn't be expected to be permanent. We could totally resolve non-absolute paths based on the document as a root. |
* Fix for Fx 57 not recognizing relative urls in xhr... seriously? * Give some scroll bars if GM4 is detected. Ace is going to be an issue since Page Scripts and Content Scripts don't see each other.
Please note that the correct base url is: |
I can confirm, jQuery AJAX doesn't work with only path URL. $.ajax({
url: '/some/path',
success: () => {}
}); My AJAX works with old Firefox (pre-WebExtensions) |
The above fix has been packaged in a new beta version: Testing and confirmation would be appreciated! |
fix XMLHttpRequests that don't have the "async" parameter Refs #2771
II have noticed in jesus2099/konami-command#372 that Firefox v57 + Greasemonkey v4 would only work with full URL
https?://host.tld/pathname
and no longer works with just/pathname
.Firefox v57 + another GM engine is not affected by this regression, this is why I open a ticket here.
The text was updated successfully, but these errors were encountered: