Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Userscript in Chrome, Cross-Origin communication

Chrome has its own Greasemonkey, anyway it has many limit. One of them is that its xmlhttprequest doen't support Cross-Origin. So is there any way to make it works?

thanks

like image 535
cn1h Avatar asked Dec 01 '11 07:12

cn1h


1 Answers

Chrome now supports cross-domain requests via GM_xmlhttpRequest.

Here's the documentation for Greasemonkey's (Firefox) GM_xmlhttpRequest().

like image 106
Brock Adams Avatar answered Sep 26 '22 15:09

Brock Adams