2014-07-21 ■ firefoxではinnerTextが使えないため textContentを使う必要がある if( typeof element.textContent != 'undefined' ){// textContent } else{// innerText }