2009/10/14 ブラウザで加速度センサーをサポート CNETによると、Mozilla Foundationのエバンジェリスト、クリストファー・ブリザード氏によると、次期Firefoxには、マシンの加速度センサー (acceloremeter) を利用する新しいAPIを搭載するそうだ (この話自身は8月に既に公表されているが)。レノボやMacBookには傾きや落下などを検知するため三次元加速度センサーを搭載しており、その加速度センサーにアクセスして、デバイスの三次元空間上の位置(傾きなど)を読み取ることで、特にモバイルデバイス上でゲームなどを作る事ができるという。APIの利用はイベントリスナーに加えるだけで非常に単純である。 window.addEventListener("MozOrientation", function(e) { /* 3 values: e.x, e.y, e.