Greasemonkey access violation: unsafeWindow cannot call GM_xmlhttpRequest.

document.addEventListener("DOMNodeInserted", function(e){
	if (!e.target.tagName) return;
	Array.filter(e.target.getElementsByTagName('img'), is_glitchable).forEach(function(el){
		// Greasemonkey access violation: unsafeWindow cannot call GM_xmlhttpRequest.
		setTimeout(function(){ glitch(el); },0);
	});
}, false);

twitter から "Greasemonkey access violation: unsafeWindow cannot call GM_xmlhttpRequest." と言われた

http://twitter.com/#!/taizooo/status/1587728940531712

よくわからんけど setTimeout でくくればいいらしい

http://twitter.com/#!/taizooo/status/1592197921112064

よくわからんけど GM_xmlhttpRequest を setTimeout でくくればいいらしい。