1.火狐和IE可以使用document.documentElement.scrollTop获取滚动条高度,而谷歌只能用document.body.scrollTop。 2.火狐中innerText是获取不到文本的。谷歌却可以。