打开百度首页,在地址栏输入代码:
javascript:var img = document.getElementById('lg').getElementsByTagName_r('img')[0];var dd = 0, dv = 0.05;clearInterval(rr || 0);var rr = setInterval(function(){costheta = Math.cos(dd += dv);sintheta = Math.sin(dd);img.style.filter = "progid:DXImageTransform.Microsoft.Matrix(M11=" + costheta + ",M12=" + ( - sintheta) + ",M21=" + sintheta + ",M22=" + costheta + ",SizingMethod='auto expand')";}, 13);
getElementsByTagName为什么会多一个_r出来?
已投稿到: |
|
---|