Tampermonkey / tampermonkey

Tampermonkey is the most popular userscript manager, with over 10 million users. It's available for Chrome, Microsoft Edge, Safari, Opera Next, and Firefox.
GNU General Public License v3.0
4.28k stars 423 forks source link

Add support for formData in GM_XMLHttpRequest #77

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
See here:
 - https://github.com/scriptish/scriptish/wiki/GM_xmlhttpRequest
 - https://developer.mozilla.org/en/DOM/XMLHttpRequest/Using_XMLHttpRequest#Using_FormData_objects

Would be nice to have :)

Original issue reported on code.google.com by asgerdre...@gmail.com on 6 Feb 2012 at 12:12

GoogleCodeExporter commented 9 years ago
Woooha... I'll check this. :)

Original comment by derj...@googlemail.com on 6 Feb 2012 at 10:04

GoogleCodeExporter commented 9 years ago
fixed in latest beta version

Original comment by derj...@googlemail.com on 12 Jun 2012 at 3:47

GoogleCodeExporter commented 9 years ago
I notice that as of release version 3.6.3737, Tampermonkey no longer uses 
cross-domain xmlhttpRequest if FormData is used. However, this is different 
than how Greasemonkey behaves, and breaks compatibility with Greasemonkey 
scripts.

Greasemonkey will still allow cross-domain xmlhttpRequest to be used if the 
details object's `data` property is passed a FormData object.

I think this is an implementation bug, since it causes incompatibilities.

Original comment by meit...@gmail.com on 25 Apr 2014 at 10:29