有些文件我无法获得文件的高度(绝对位于最底层).此外,填充底部似乎在这些页面上什么也不做,但在高度将返回的页面上执行.案例:
http://fandango.com
http://paperbackswap.com
在Fandango上
jQuery的$(document).height();返回正确值
document.height返回0
document.body.scrollHeight返回0
On Paperback Swap:
jQuery的$(document).height();TypeError:$(document)为null
document.height返回不正确的值
document.body.scrollHeight返回不正确的值
注意:如果有一些技巧,我有浏览器级权限.
javascript ×1