XMLHttpRequestを使ったGoogle chrome extensionを作ってみたのでソースを公開してみます。 詰まるポイントが結構あったので、メモも残しておきます。 作ったもの webページ上記に東京の明日の天気予報を表示するGoogle chrome extension GoogleのSample Code(Cross-domain XMLHttpRequest from a content script)をベースにした http://code.google.com/chrome/extensions/samples.html livedoorの天気予報webAPIを使用 http://weather.livedoor.com/weather_hacks/webservice.html screen shot source code manifest.json permis
![XMLHttpRequestを使用したGoogle chrome extensionを作ってみたので、ソースを公開してみる - やる気のないブログ(A boring diary)](https://cdn-ak-scissors.b.st-hatena.com/image/square/60c5b407a90f316643c2e7db791b144a15093d4f/height=288;version=1;width=512/https%3A%2F%2Fcdn.image.st-hatena.com%2Fimage%2Fscale%2Fb1c59f31fd9fab106f27747f0a7722c246e3eb7c%2Fbackend%3Dimagemagick%3Bversion%3D1%3Bwidth%3D1300%2Fhttps%253A%252F%252Fcdn-ak.f.st-hatena.com%252Fimages%252Ffotolife%252Ft%252Ftakahirox%252F20101011%252F20101011095835.png)