Greasemonkey, Ajax, JavaScript主要なブラウザにはセキュリティ上の理由からSame Origin Policyが実装されており、自分を生成したドメイン以外のドメインのサーバと通信することはできません。ただ、セキュリティ上必要とはいっても、Greasemonkeyスクリプト等の、ちょっとしたスクリプトを書くときには、この制約は面倒でもあります。 この制約を突破するにはJSONP等の手段が知られていますが、FirefoxのGreasemonkeyスクリプトであれば、GM_xmlhttpRequestという関数を使用でき、これを使用するだけでクロスドメインアクセスを実現できます。 ですが、ここで問題になるのがGoogle Chrome等の他のブラウザで、そのGM_xmlhttpRequestを使用したGreasemonkeyスクリプトを動作させたいときです。Googl