Re: �������ۣ������� window �ϵ��¼�ģ�黯���

�����ˣ������ⲻ��һ������
��л

�����ҵ� iPad

> �� 2016��8��6�գ�10:17��Xidorn Quan <quanxunzhen@gmail.com> д����
> 
> 2016-08-06 12:04 GMT+10:00 Xidorn Quan <quanxunzhen@gmail.com>:
>> 
>> 2016-08-06 2:35 GMT+10:00 ���� �� <zhaojinjiang@me.com>:
>>> 
>>> �Ҹղ��ڱ��� Chrome �հ�ҳ��������һ������֧�ֵ��¼���
>>> 
>>> Object.keys(window).filter(n => n.match(/^on/))
>>> ["ondeviceorientationabsolute", "ondeviceorientation", "ondevicemotion", "onunhandledrejection", "onrejectionhandled", "onunload", "onstorage", "onpopstate", "onpageshow", "onpagehide", "ononline", "onoffline", "onmessage", "onlanguagechange", "onhashchange", "onbeforeunload", "onwaiting", "onvolumechange", "ontoggle", "ontimeupdate", "onsuspend", "onsubmit", "onstalled", "onshow", "onselect", "onseeking", "onseeked", "onscroll", "onresize", "onreset", "onratechange", "onprogress", "onplaying", "onplay", "onpause", "onmousewheel", "onmouseup", "onmouseover", "onmouseout", "onmousemove", "onmouseleave", "onmouseenter", "onmousedown", "onloadstart", "onloadedmetadata", "onloadeddata", "onload", "onkeyup", "onkeypress", "onkeydown", "oninvalid", "oninput", "onfocus", "onerror", "onended", "onemptied", "ondurationchange", "ondrop", "ondragstart", "ondragover", "ondragleave", "ondragenter", "ondragend", "ondrag", "ondblclick", "oncuechange", "oncontextmenu", "onclose", "onclick", "onchange", "oncanplaythrough", "oncanplay", "oncancel", "onblur", "onabort", "onwheel", "onwebkittransitionend", "onwebkitanimationstart", "onwebkitanimationiteration", "onwebkitanimationend", "ontransitionend", "onsearch", "onanimationstart", "onanimationiteration", "onanimationend"]
>>> 
>>> ����������¼��dz��࣬�������൱һ�����Ǻ�ijЩ������ W3C JavaScript APIs Spec ǿ�����ģ����� onstorage �� web storage API �淶�������ondevicemotion �� device orientation event �淶�������onpopstate �� History API �淶�������
>> 
>> 
>> �������еĴ�����¼�������Window�������еģ�����Window�����Element�����еġ��������������ij�
>> Object.keys(window).filter(n => n.match(/^on/) && !(n in document.body))
> 
> ����˵����һ��㣬body��һ���������Element������Window�й���һЩEvent Handler��������WindowEventHandler�IJ��֣���������ij�
> Object.keys(window).filter(n => n.match(/^on/) && !(n in document.createElement('div')))
> ʣ�µ���
> [ "ondevicemotion", "ondeviceorientation", "onabsolutedeviceorientation", "ondeviceproximity", "onuserproximity", "ondevicelight", "onafterprint", "onbeforeprint", "onbeforeunload", "onhashchange",  "onlanguagechange", "onmessage", "onoffline", "ononline", "onpagehide", "onpageshow", "onpopstate", "onstorage", "onunload" ]
> ��Chrome������Щanimation��transition�ģ�
> 
> ʵ����Ҳ���Ǻ����ޣ��󲿷���Window�����еģ�����һЩ�ϵı�׼�������DZ���Ҳû�����¼���ֵ�������½ӿڵı�׼��
> 
> - Xidorn

Received on Saturday, 6 August 2016 05:52:48 UTC