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
2.0 Error: Argument 1 of Document.adoptNode is not an object. #1937
Comments
when run this code GM_xmlhttpRequest({
method: 'GET',
synchronous: false,
headers: {
"cookie": document.cookie,
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",
"User-Agent": "Mozilla/5.0 (SymbianOS/9.3; Series60/3.2 NokiaE72-1/021.021; Profile/MIDP-2.1 Configuration/CLDC-1.1 ) AppleWebKit/525 (KHTML, like Gecko) Version/3.0 BrowserNG/7.1.16352"
},
url: 'http://tieba.baidu.com/mo/m?kw=totalcommander',
onload: function(responseDetails) {
}
}); An error occurred: responseDetails.responseText
|
On the xpi file
|
I definitely see problems related to GM_xhr in 2.0. 3bfe3c9 helps a bit; I'm not sure if this is a GM 2.0 or a recent Firefox change. Also: https://bugzilla.mozilla.org/show_bug.cgi?id=1031336#c17 shows an approach to improve this even more, securely. Though I can't reproduce quite the error described. |
Not completely fixed, see #1937. |
this script tiebaAllsign can't work on Greasemonkey 2.0 After I add all @grant, but on Greasemonkey 1.5 it works fine.
Error info on the file
resource://greasemonkey/xmlhttprequester.js
line: 206:The text was updated successfully, but these errors were encountered: