postMessageを使うことで、 サーバを経由しないで異なるドメイン間でのデータ受け渡しが可能だということを説明しました。またlocalStorageを使うことで 「サーバには送られないがブラウザにのみ保持されるデータ」 を気軽に作ることができるようになりました。
Web storage objects localStorage and sessionStorage allow to save key/value pairs in the browser. What's interesting about them is that the data survives a page refresh (for sessionStorage) and even a ...