原版的js应该是这个2015-12-29 18:37:48日期的 简单的预览: var p = window.window['mozInnerScreenY'] || window.window['screenTop'], w = window.window['mozInnerScreenX'] || window.window['screenLeft']; typeof p == 'undefined' && (p = 0), typeof w == 'undefined' && (w = 0);